On 18 mai 09, at 13:27, Damien Cassou wrote:
On Mon, May 18, 2009 at 1:24 PM, Schwab,Wilhelm K <bschwab@anest.ufl.edu
wrote: I agree about about sans serif, and for code, even prefer a mono- spaced font. However, I believe there is a code snipet somewhere that changes the fonts to whatever is desired.
Yes, this is the snipet I've just given and which can also be found at: http://code.google.com/p/pharo/wiki/CodeSnippets.
However, the problem here is to select a sensible default. That's why I'm looking for your opinion.
My opinion is :) | titleFont font codeFont | font := LogicalFont familyName: 'DejaVu Sans' pointSize: default. codeFont := LogicalFont familyName: 'DejaVu Sans Mono' pointSize: code. titleFont := LogicalFont familyName: 'DejaVu Sans' pointSize: title. Preferences setListFontTo: font. Preferences setMenuFontTo: titleFont. Preferences setCodeFontTo: codeFont. Preferences setButtonFontTo: font. Preferences setSystemFontTo: font. Preferences setWindowTitleFontTo: titleFont with default = code = 8, title = 10 on a 15" screen and default = code = 9, title = 11 on a 30" screen. -- Simon