[Pharo-project] FreeTypeFont profiling methods brokem
Hi all profileUnhintedWidthOfStringMulti and friends do not work any because t := TextStyle named: 'Arial'. f := t fontOfPointSize: 12. t is nil Stef
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" <stephane.ducasse@inria.fr> wrote in message news:4E6AD79B-7F45-4884-926A-597991139D4B@inria.fr...
Hi all
profileUnhintedWidthOfStringMulti and friends do not work any because t := TextStyle named: 'Arial'. f := t fontOfPointSize: 12.
t is nil
Stef
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" <stephane.ducasse@inria.fr> wrote in message news:4E6AD79B-7F45-4884-926A-597991139D4B@inria.fr...
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 Pharo-project@lists.gforge.inria.fr 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) __________________________________________________________________ Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php
2009/7/20 Benoit St-Jean <bstjean@yahoo.com>
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 ?
FreeTypeFontProvider current updateFromSystem You can read it here: http://code.google.com/p/pharo/wiki/CodeSnippets best, mariano
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!*<http://www.flickr.com/gift/>
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2009/7/20 Benoit St-Jean <bstjean@yahoo.com>:
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
participants (5)
-
Andrew Tween -
Benoit St-Jean -
Damien Cassou -
Mariano Martinez Peck -
Stéphane Ducasse