Hi all
profileUnhintedWidthOfStringMulti and friends do not work any because t := TextStyle named: 'Arial'. f := t fontOfPointSize: 12. t is nil Stef _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Hi Stef,
I'll fix these methods. (they need to use LogicalFonts e.g. f := LogicalFont familyName: 'DejaVu Sans' pointSize: 12. ) Cheers, Andy "Stéphane Ducasse" <[hidden email]> wrote in message news:[hidden email]... > Hi all > > profileUnhintedWidthOfStringMulti and friends do not work any because > t := TextStyle named: 'Arial'. > f := t fontOfPointSize: 12. > > t is nil > > Stef _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Thanks
I'm totally ignorant so I'm really happy to have you telling me. I can fix that if you want. Stef On Jul 20, 2009, at 4:04 PM, Andrew Tween wrote: > Hi Stef, > I'll fix these methods. > > (they need to use LogicalFonts > e.g. f := LogicalFont familyName: 'DejaVu Sans' pointSize: 12. > ) > > Cheers, > Andy > > > > "Stéphane Ducasse" <[hidden email]> wrote in > message news:[hidden email]... >> Hi all >> >> profileUnhintedWidthOfStringMulti and friends do not work any because >> t := TextStyle named: 'Arial'. >> f := t fontOfPointSize: 12. >> >> t is nil >> >> Stef > > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Hello everyone, I had a nice Pharo image with FreeType fonts (the default ones) not a long time ago. Then, oups! I am back to the old Squeak fonts. I haven't changed the UI theme nor the system fonts... It all happened after an update. How do you re-initialize those default fonts ? Thank you Benoit St-Jean Yahoo! Messenger: bstjean Blog: lamneth.wordpress.com A standpoint is an intellectual horizon of radius zero. (Albert Einstein) Looking for the perfect gift? Give the gift of Flickr! _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
2009/7/20 Benoit St-Jean <[hidden email]>
FreeTypeFontProvider current updateFromSystem You can read it here: http://code.google.com/p/pharo/wiki/CodeSnippets best, mariano
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Benoit St-Jean
2009/7/20 Benoit St-Jean <[hidden email]>:
> I had a nice Pharo image with FreeType fonts (the default ones) not a long > time ago. Then, oups! I am back to the old Squeak fonts. > > I haven't changed the UI theme nor the system fonts... It all happened > after an update. How do you re-initialize those default fonts ? the best things for users is to download a new image instead of updating. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |