outline

fun outline(glyphId: Int): PdfPath?

Returns the outline of glyphId, or null if it's empty / unparseable. Decoded outlines are cached: a glyph drawn N times runs the Type 2 charstring interpreter once, not N times.