Versions in this module Expand all Collapse all v0 v0.0.3 Mar 16, 2026 Changes in this version + type Error int32 + func (e Error) Error() string + type FAMILY_VARIANT int32 + const AFAMILY_VARIANT_COMPACT + const AFAMILY_VARIANT_DEFAULT + const AFAMILY_VARIANT_ELEGANT + type Font struct + func NewFontFromPointer(ptr unsafe.Pointer) *Font + func (h *Font) Close() error + func (h *Font) GetAxisCount() uint64 + func (h *Font) GetAxisTag(axisIndex uint32) error + func (h *Font) GetAxisValue(axisIndex uint32) float32 + func (h *Font) GetCollectionIndex() uint64 + func (h *Font) GetFontFilePath() string + func (h *Font) GetLocale() string + func (h *Font) IsItalic() bool + func (h *Font) Pointer() unsafe.Pointer + func (h *Font) Weight() uint16 + type Matcher struct + func NewMatcher() *Matcher + func NewMatcherFromPointer(ptr unsafe.Pointer) *Matcher + func (h *Matcher) Close() error + func (h *Matcher) Match(familyName string, text *uint16, textLength uint32, runLengthOut *uint32) *Font + func (h *Matcher) Pointer() unsafe.Pointer + func (h *Matcher) SetFamilyVariant(familyVariant uint32) + func (h *Matcher) SetLocales(languageTags string) + func (h *Matcher) SetStyle(weight uint16, italic bool) *Matcher + type SystemFontIterator struct + func ASystemFontIterator_open() *SystemFontIterator + func NewSystemFontIteratorFromPointer(ptr unsafe.Pointer) *SystemFontIterator + func (h *SystemFontIterator) Close() error + func (h *SystemFontIterator) Next() *Font + func (h *SystemFontIterator) Pointer() unsafe.Pointer + type Weight int32 + const Black + const Bold + const ExtraBold + const ExtraLight + const Light + const Max + const Medium + const Min + const Normal + const SemiBold + const Thin