Win32 fonts
Chris Muller
chris at funkyobjects.org
Tue Aug 9 19:45:09 UTC 2005
Hi Yoshiki, I finally got around to trying this. Unfortunately, the one-lline
script did not have any affect. However, loading the Win32 fonts package from
SqueakMap worked almost great. I got a DNU when trying to menu item
appearence... | fonts... but changing this method to the following:
derivativeFonts
^derivativeFonts ifNil: [ #() ] ifNotNil: [ derivativeFonts copyWithout: nil ]
worked great and now my image is loaded with these great-looking fonts.
Cheers,
Chris
--- Yoshiki Ohshima <yoshiki at squeakland.org> wrote:
> Chris,
>
> > Ramon, I've experimented with true-types that come w/ Windows to see if I
> could
> > use them, but had trouble with carriage-returns displaying as a square
> and..
> > maybe a couple of other formatting issues or something.
> >
> > Perhaps it was the particular fonts I tried, Verdana and Arial, IIRC..
> >
> > You seem to be having better success than I, can you give me a tip?
>
> TTFontDescription allInstances do: [:each | each blankGlyphForSeparators].
>
> should fix it. It should be called when you load a font, but
> apparently not...
>
> -- Yoshiki
>
>
More information about the Squeak-dev
mailing list
|