[Pharo-project] StandardFonts defautFont:

Alain Plantec alain.plantec at yahoo.com
Tue Feb 22 08:23:44 CET 2011


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

>
>
>





More information about the Pharo-project mailing list