$lineheight » History » Version 1
Per Amundsen, 01/03/2015 01:20 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.5_ |
|---|---|---|---|
| 2 | |||
| 3 | *$lineheight(font, size)* |
||
| 4 | |||
| 5 | Returns the line height of the given font and size. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | font - Font to calculate. |
||
| 10 | size - Font size to calculate. |
||
| 11 | |||
| 12 | *Example* |
||
| 13 | |||
| 14 | <pre> |
||
| 15 | //echo -ag Lineheight for Consolas 10 is $lineheight(Consolas, 10) |
||
| 16 | </pre> |