Versions in this module Expand all Collapse all v0 v0.0.1 Feb 3, 2024 Changes in this version + type Character struct + Advance [2]int + Alpha *image.Alpha + Encoding rune + LowerPoint [2]int + Name string + func (c *Character) RenderCharacterImage(path string) error + type Face struct + Font *Font + func (f *Face) Close() error + func (f *Face) Glyph(dot fixed.Point26_6, r rune) (dr image.Rectangle, mask image.Image, maskp image.Point, advance fixed.Int26_6, ...) + func (f *Face) GlyphAdvance(r rune) (advance fixed.Int26_6, ok bool) + func (f *Face) GlyphBounds(r rune) (bounds fixed.Rectangle26_6, advance fixed.Int26_6, ok bool) + func (f *Face) Kern(_, _ rune) fixed.Int26_6 + func (f *Face) Metrics() font.Metrics + type Font struct + Ascent int + BPP int + CapHeight int + CharMap map[rune]*Character + Characters []Character + DPI [2]int + DefaultChar rune + Descent int + Encoding string + Name string + PixelSize int + Size int + XHeight int + func FromFile(path string) (f *Font, err error) + func Parse(data []byte) (*Font, error) + func (f *Font) RenderFontImage(output string, padding int) error