Project

General

Profile

Actions

$lineheight » History » Revision 3

« Previous | Revision 3/4 (diff) | Next »
Per Amundsen, 08/12/2015 10:44 PM


Added in 1.9.5

$lineheight(font, size)

Returns the line height of the given font and size.

Parameters

font - Font to calculate.
size - Font size to calculate.

Example

//echo -ag Lineheight for Consolas 10 is $lineheight(Consolas, 10)

Updated by Per Amundsen over 9 years ago · 3 revisions

Also available in: PDF HTML TXT