Skip to main content

Module glyph

Module glyph 

Source

Structs§

DistanceField2D
Negative inside the glyph.
GlyphParams
All lengths are world units except Self::flatten_tolerance_em.
GlyphSolid

Enums§

GlyphError

Constants§

BLANK_DISTANCE
Finite so callers can still combine it with min/max without producing NaN.
MIN_RESOLUTION
Below this many cells per em the render bake cannot resolve a stem.

Functions§

append_field_prism
Appends the triangulated extrusion and returns whether the field enclosed any area.
layout_word
Places glyphs in a shared word frame with baseline y = 0 and first pen origin x = 0.