[BUG] NK-Connector and TrueTypeTextStyle

Ned Konz ned at bike-nomad.com
Thu May 8 20:56:53 UTC 2003


On Thursday 08 May 2003 12:20 pm, diegogomezdeck at consultar.com wrote:
> When I try to load NK-Connector in a image with TrueTypeTextStyle I
> get an error:
>
>   TTCFont doesNotUnderstand: maxWidth
>
> I guess it's a TrueTypeTextStyle bug but I'm not sure.

This is because I assumed that every font would support maxWidth; 
however, TTCFont doesn't.

I'll re-vamp this to make the TextMorph get its width more reliably (I 
just figured out about the cached state that needs to be reset to get 
it to re-lay itself out).

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list