# font.um ``` Module for font rendering. Unicode is supported, but only left to right. ``` ## struct Font* ```go type Font* = struct { _: ^struct{} } ``` ## fn load* `fn load*(path: str, size: th.fu, filter: uint32 = filterBilinear): Font {` ## fn draw* `fn (f: ^Font) draw*(text: str, pos: th.Vf2, color: uint32, scale: th.fu = 1.0) {` ## fn validate* `fn (f: ^Font) validate*(): bool {` ## fn measure* `fn (f: ^Font) measure*(text: str): th.Vf2 {`