TTFontDescription's Decriptions
Yoshiki Ohshima
yoshiki at squeakland.org
Mon Mar 13 23:51:13 UTC 2006
Corneanu,
> The TTFontDescription's Decriptions class variable in 3.9 is populated
> only with the default description but in 3.8 it comes fully populated
> with all TTFontDescription(s) installed in the image.
>
> Is this intentionally? or is it a mistake?
> This is related to bug #0003215 .
Oh, I would guess that it is a mistake.
> The second question is:
> What is the intended way of using TTFontDescription?
> Is this a factory for flyweight instances of TTFontDescription(s)?
Do you know the menu item 'class var refs...' in the class browser?
It shows the methods that refer to the class variable. And you check
the sender of these methods, you'll get the sense what they are used.
And why I'm doing this meta-answer? Because I apparently forgot the
detail...
-- Yoshiki
More information about the Squeak-dev
mailing list
|