1 Reply Latest reply on Nov 30, 2011 10:23 AM by Flex harUI

    Correct dimensions for a text with embedded font


      Can someone please tell me how can I find the  width, height and lineHeight for a text  that is inside a RichEditableText component if I'm useing  embedded fonts as cff?

      I have a font that has  big loops on letters like f,j,g.  I

      tried to get the infos from the richEditableText and richEditableText.textFlow. I even tried to compute the height of the text line by line with textFlow.flowComposer.getLineAt(i).height. But none of this got me a value big enought to cover the loops too.