Changing Fonts to Century Gothic
Giuseppe Luigi Punzi
glpunzi at lordzealon.com
Tue Jan 22 09:50:07 UTC 2008
Hi David.
On Mon, 21 Jan 2008 14:03:25 -0600
"David Mitchell" <david.mitchell at gmail.com> wrote:
> If the font is Century Gothic, use a String rather than a symbol.
>
> One of your lines converted would be:
> (setButtonFontTo: 'Century Gothic' 10)
I will try.
>
> Here is how I set mine. (I added an extension to the Preferences
> class, rather than a workspace script).
>
> setDmmFonts
> "Preferences setDmmFonts"
> | face size selectors triplets |
> face := 'Bitstream Vera Sans'.
> size := 8.
> selectors := #(
> setSystemFontTo:
> setListFontTo:
> setFlapsFontTo:
> setEToysFontTo:
> setPaintBoxButtonFontTo:
> setMenuFontTo:
> setWindowTitleFontTo:
> setBalloonHelpFontTo:
> setCodeFontTo:
> setButtonFontTo: ).
> triplets := selectors collect: [:selector | Array with: selector
> with: face with: size].
> self setDefaultFonts: triplets
>
I will try this too, thanks.
But I need to study this. I opened my "new" image from my MacBook at home, and the Century Ghotic font, doesn't "see" like Century Ghotic on my Windows machine at work.
--
Giuseppe Luigi Punzi <glpunzi at lordzealon.com>
More information about the Squeak-dev
mailing list
|