string-height ( font string -- h )
Factor handbook » UI framework » Implementing new gadgets » Customizing gadget appearance » Implementing custom drawing logic » Rendering text

Prev:string-width ( font string -- w )
Next:string-dim ( font string -- dim )


Vocabulary
ui.text.private

Inputs
fonta font
stringa string


Outputs
ha positive integer


Generic word contract
Outputs the height of a string.

Notes
This is a low-level word; use text-height instead.

Definition