Cool, I was once wondering how to programmatically set nice fonts, but got lost in the font rendering jungle ... Thanks for finding out the magic word "LogicalFont" ;-) Cheers, Lukas On Thu, Mar 12, 2009 at 3:02 PM, Damien Cassou <damien.cassou@gmail.com> wrote:
Hi,
I've just uploaded pharo-dev and pharo-web based on 10250. Please try them and tell me. http://code.google.com/p/pharo/wiki/Downloads.
If you have a recent VM with the FT2Plugin and the DejaVu font, execute the following: (you can of course change the font name to something else)
|font codeFont| font := LogicalFont familyName: 'DejaVu Serif' pointSize: 10. codeFont := LogicalFont familyName: 'DejaVu Sans Mono' pointSize: 9. Preferences setListFontTo: font. Preferences setMenuFontTo: font. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: font. Preferences setSystemFontTo: font. font := LogicalFont familyName: 'DejaVu Serif' pointSize: 11. Preferences setWindowTitleFontTo: font.
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli http://www.lukas-renggli.ch