Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Find ¶
func Find(appkey string, io IO) locate.FontLocator
Find creates a FontLocator that resolves fonts from local system sources.
appkey identifies the caller's config area used for fontconfig list lookup. io customizes host I/O and may be nil.
func FindLocalFont ¶
func FindLocalFont(appkey string, io IO, pattern string, style font.Style, weight font.Weight) ( fontfind.ScalableFont, error)
FindLocalFont searches for a locally installed font variant.
If present and configured, FindLocalFont uses the fontconfig system (https://www.freedesktop.org/wiki/Software/fontconfig/).
If fontconfig is not configured, FindLocalFont will fall back to scanning system font folders (OS dependent).
Types ¶
Click to show internal directories.
Click to hide internal directories.