+2  A: 

I've run into this problem before and as far as I can tell you have two options, none of them very nice:

  • Use the new flash.text.engine in Flash Player 10... its very hard to use but I think it will measure such fonts (and ligatures) properly.
  • Draw the textfield into a bitmapdata and use getColorBoundsRect to determine its real dimensions.

I ended up using the latter as changing the whole app to the new engine would have been much much harder. You will need to tweak margins and use a larger textfield (inside some container) to be able to draw it properly, but it should work.

Cay
*sigh*. I thought about going the bitmapdata route but was worried about performance but I'm glad to hear you tried it out and its working, I guess I'll give that a go. The flash.text.engine is tempting but I don't want to have two swfs for different versions :pThanks for the info.
Shizam