[Pharo-project] StandardFonts defautFont:

Hilaire Fernandes hilaire.fernandes at gmail.com
Tue Feb 22 09:16:55 CET 2011


Thanks

Hilaire

Le 22/02/2011 08:23, Alain Plantec a écrit :
> Le 21/02/2011 18:53, Hilaire Fernandes a écrit :
>> I am struggling with this method where it looks like default font is
>> locked to 9 pt size, not a piece of cake for XO laptop.
>>
>> Hilaire
> 
> ---------------
> | f n |
> 
> n := StandardFonts defaultFont. "get the current default font"
> 
> f := LogicalFontfamilyName: n familyName pointSize: 12. "font for my
> preferred size"
> 
> StandardFonts setAllStandardFontsTo: f "reset all fonts"
> 
> ---------------
> Cheers
> Alain
> 
>>
>>
>>
> 
> 
> 


-- 
Education 0.2 -- http://blog.ofset.org/hilaire





More information about the Pharo-project mailing list