On Apr 22, 2012, at 9:53 AM, Daniel Lyons wrote: > font := TextFontReference toFont: (StrikeFont familyName: 'Pragmata Pro' > size: 16).
OK, this works if I use LogicalFont instead:
textArea := TextMorph new contents:
('This is a test' asText
addAttribute: (TextFontReference
toFont: (LogicalFont
familyName: 'Consolas'
pointSize: 14)))
I bet there is a more abstract way of locating a font than using one of these
two classes.
—
Daniel Lyons
