outline property

GlyphPath get outline

The outline in font units, y up. To paint: scale by size / font.unitsPerEm, flip y, and move to (x, y); when flipped, also reflect x within the advance (x' = advance - x).

Implementation

GlyphPath get outline => font.outline(glyph);