[Pharo-project] StandardFonts defautFont:
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
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.
Looks like the font name changed, but strangely only defaultFont: was the only method not able to cope with the previous names -- Education 0.2 -- http://blog.ofset.org/hilaire
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
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
participants (2)
-
Alain Plantec -
Hilaire Fernandes