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 and outputs
fonta font
stringa string
ha positive integer


Generic word contract
Outputs the height of a string.

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

Definition