[squeak-dev] Does this reference or include a font in the image? (was Re: How best to import a new truetype font (.ttf file)?)
marcel.taeumel at hpi.de
Wed Mar 9 13:48:39 UTC 2022
Hi Tony --
Just call TTCFont >> #becomeLocalFont to be sure. :-) Yes, being remote is the default.
Am 09.03.2022 14:39:04 schrieb Tony Garnock-Jones <tonyg at leastfixedpoint.com>:
On 3/1/22 17:57, Marcel Taeumel wrote:
> TTCFont class >> #installFromFileNames:
> TTCFont class >> #uninstallFontNames:
Does this install a reference to a font file, or does it load the font
data into the image, making the font file no longer needed?
I need the latter, but it looks like the former might be going on, so I
thought I'd check.
(I'm not stuck, though, because my old procedure of the following still
description := TTFontDescription addFromTTFile:
TTCFont newTextStyleFromTT: description first.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev