Flex TextArea leading invalid

Posted by Andreas on Stack Overflow See other posts from Stack Overflow or by Andreas
Published on 2010-03-30T15:16:26Z Indexed on 2010/03/31 0:03 UTC
Read the original article Hit count: 377

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about flex

Related posts about leading