You're welcome! This is the first thing I have ever manged to produce of interest to the Squeak community! All because I never get much more done than trying out new images and I got tired of changing all the fonts by hand... Rob On Thu, Mar 12, 2009 at 1:45 PM, Lukas Renggli <renggli@gmail.com> wrote:
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
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project