This forum is read only and just serves as an archive. If you have any questions, please post them on

1 decade ago by MikeH

When I use font.widthForText and iOSImpact, it returns NaN instead of the width. Can anyone else confirm this?

1 decade ago by paularmstrong

Yeah, I didn't see a hook in place for this.

I had also hacked font.draw() to return the width for the string that it was drawing, but of course, that wasn't supported on iOSImpact as well. It would be a very nice feature to have.
Page 1 of 1
« first « previous next › last »