11 Replies Latest reply on Aug 11, 2007 3:42 PM by Greg Dove

    getTextExtent return wrong value

    Rothrock Level 5
      I'm using getTextExtent to break some text to be the correct size for a text field that has the font embedded using the embed button from the properties panel.

      If I run the swf and have the font enabled on my machine, getTextExtent tells me that a space will take 12 pixels and the word "QUACKING" will take 76 pixels.

      If I run the swf and have the font disabled on my machine, getTextExtend tells me that a space takes 8 pixels and the same word now takes 62 pixels.

      It is very strange because the font is displaying correctly so I know that it is embedded.

      Any ideas what could be going on or how to fix it?