Documentation
¶
Overview ¶
Package fontfile finds additional TrueType/OpenType fonts by PostScript name. Files are read from the machine running plot-go, never bundled with it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Face ¶
Face is an immutable parsed font. Callers use their own sfnt.Buffer.
func Get ¶
Get resolves a PostScript or full font name. OFE_FONT_PATH is a path-list of files or directories searched before the standard system/user font folders. The first matching file wins. Unreadable or malformed font files are skipped; unresolved names return an error so the renderer can report its fallback.
Click to show internal directories.
Click to hide internal directories.