5 Replies Latest reply on Mar 31, 2010 4:28 PM by Flex harUI

    Flex TextArea leading is wrong

    psan83

      Hi,

      When I set leading to 0 with Verdana (and others to) for a Flex  TextArea I get strange results:

       

      fontsize -> space between baselines
      8 -> 10  (125%)
      10 -> 12  (120%)
      12 -> 14  (117%)
      14 -> 17  (121%)
      16 -> 18  (113%)
      18 -> 22  (122%)

      20 -> 25  (125%)
      25 -> 31  (124%)

       

      shouldn't all of these be the same (should only be 100%)? Or least  follow a pattern, because I can't se any.
      When i set leading to 0, the space between my baselines should be the same as the font size/height. This is not the case here.

       

      How do I know how to get the space between the baseline to be equal to the height of the font?