I do not know, Sean. Probably We should really clean up that part too.
On May 1, 2010, at 8:33 PM, Sean P. DeNigris wrote:
> I assumed that this method would set the contents of my TextMorph with the
> given arguments. However, the contents are set before the font is changed:
>> string: aString fontName: aName size: aSize wrap: shouldWrap
>> ifTrue: [self contentsWrapped: aString]
>> ifFalse: [self contents: aString].
>> self fontName: aName size: aSize
> Shouldn't this be:
> string: aString fontName: aName size: aSize wrap: shouldWrap
> self fontName: aName size: aSize.
> ifTrue: [self contentsWrapped: aString]
> ifFalse: [self contents: aString].
> or am I missing something?
> p.s. is there a good reference for fonts? I find the available classes (and
> no class comments) dizzying - LogicalFont, TT..., FreeType...
> View this message in context: http://forum.world.st/TextMorph-string-fontName-size-wrap-bug-tp2122277p2122277.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
> Pharo-project mailing list
> [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project