Project

General

Profile

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 2 years ago · 3 revisions

Also available in: PDF HTML TXT