On 20 janv. 2010, at 09:27, Damien Cassou wrote:
On Wed, Jan 20, 2010 at 8:48 AM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
I have to give some demos of seaside today and I would like to have nice fonts in 1.0 and I cannot find the preferences to say that the fonts can be looked up on my disc. and I'm looking for some nice combination (but the code snippets on the wiki do not work).
FreeTypeFontProvider current updateFromSystem.
font := LogicalFont familyName: 'DejaVu Sans' pointSize: 10. codeFont := LogicalFont familyName: 'DejaVu Sans Mono' pointSize: 9. titleFont := LogicalFont familyName: 'DejaVu Sans' pointSize: 11.
Preferences setListFontTo: font; setMenuFontTo: font; setCodeFontTo: codeFont; setButtonFontTo: font; setSystemFontTo: font; setWindowTitleFontTo: titleFont.
Yep, this is more or less the script I use in my images (Pharo 1.0) -- Simon