getTextExtent()

Out of context: Reply #7

  • Started
  • Last post
  • 7 Responses
  • bry0

    thanks for the mac tip. i remember reading about the twips/px issue but i nearly forgot about it.

    however, i haven't even started testing for mac yet and getTextExtent still yields crappy values on PC.

    i.e.: getTextExtent(text,[width]) : the resulting width value is grossly underestimated compared to the width value i feed it. shouldn't the resulting width be very close to if not exactly equal to the width value?

    i'm just surprised not more people are crying foul over this feature (especially with the increasing advent of custom UI's that adapt to the amount of encased text )

View thread