Project

General

Profile

Actions

Added in 1.9.5

$lineheight(font, size)

Returns the line height of the given font and size.

Parameters

Parameter Description
font Font to calculate.
size Font size to calculate.

Example

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

Updated by Per Amundsen almost 2 years ago · 4 revisions

Also available in: PDF HTML TXT