Versions in this module Expand all Collapse all v0 v0.0.3 Apr 21, 2023 v0.0.2 Apr 28, 2022 Changes in this version + func DefaultLoadFace(key fonts.FaceID, format fc.FontFormat) (fonts.Face, error) + type FaceLoader interface + LoadFace func(key fonts.FaceID, format fc.FontFormat) (fonts.Face, error) + type Font struct + Pattern fc.Pattern + func (font *Font) Describe(absolute bool) pango.FontDescription + func (font *Font) FaceID() fonts.FaceID + func (font *Font) GetCoverage(_ pango.Language) pango.Coverage + func (font *Font) GetFeatures() []harfbuzz.Feature + func (font *Font) GetFontMap() pango.FontMap + func (font *Font) GetHarfbuzzFont() *harfbuzz.Font + func (font *Font) GetMetrics(lang pango.Language) pango.FontMetrics + func (font *Font) GlyphExtents(glyph pango.Glyph, inkRect, logicalRect *pango.Rectangle) + type FontMap struct + Config *fc.Config + Database fc.Fontset + func NewFontMap(config *fc.Config, database fc.Fontset) *FontMap + func (fontmap *FontMap) GetSerial() uint + func (fontmap *FontMap) LoadFontset(context *pango.Context, desc *pango.FontDescription, language pango.Language) pango.Fontset + func (fontmap *FontMap) SetConfig(config *fc.Config, database fc.Fontset) + func (fontmap *FontMap) SetFaceLoader(loader FaceLoader) + type Fontset struct + func (fs *Fontset) Foreach(fn pango.FontsetForeachFunc) + func (fs *Fontset) GetLanguage() pango.Language