Using TT Fonts?

Hans-Martin Mosner hmm at heeg.de
Sun Aug 25 21:11:21 UTC 2002


Nick Brown wrote:

> Hi.
>
> The changeset files in fine, and appears to install fonts fine (I
> loaded Arial, and it displays fine in the Standard System Fonts menu),
> but when I then tried to set Arial as the default text font I got a
> DNU... TrueTypeFont does not understand #textStyle

Yup. I did not try that. #textStyle is defined in StrikeFont. Just copy or move
the method to AbstractFont, and you're set.
I will add that to the next version of the changeset, together with any other
fixes and workarounds.
BTW, TrueTypeFonts work in MVC, too, but the selection is ugly...

Cheers,
Hans-Martin





More information about the Squeak-dev mailing list