[BUG][FIX] Missing TTCFont::maxWidth makes trouble for Connectors ( [cd][er] basically ok, small addition )

Yoshiki Ohshima Yoshiki.Ohshima at acm.org
Sat Jan 10 02:53:17 UTC 2004


  Hello,

> Ned Konz  <squeak-dev at lists.squeakfoundation.org> said:
> >And does anyone call fontWidthsFor: ?
> >
> Nope. So let's kill the bug and this code then? Shall I post a
> changeset?

  That is good.  I would point out (again) that the 'max'-ness which
one might imagine from the name of 'maxWidth' is plain bogus.  The
client code shouldn't assume any max-ness based on the returned value.
Replace it with 'typicalWidth' or such would be good.

  Just 2 cents,

-- Yoshiki




More information about the Squeak-dev mailing list