Project

General

Profile

Actions

$lineheight » History » Revision 1

Revision 1/4 | Next »
Per Amundsen, 01/03/2015 01:20 AM


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 · 1 revisions

Also available in: PDF HTML TXT