Project

General

Profile

$lineheight » History » Version 3

Per Amundsen, 08/12/2015 10:44 PM

1 1 Per Amundsen
_Added in 1.9.5_
2
3
*$lineheight(font, size)*
4
5 3 Per Amundsen
Returns the line height of the given font and size.
6 1 Per Amundsen
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>