Versions in this module Expand all Collapse all v0 v0.12.1 Sep 11, 2023 Changes in this version + func NewFace(f *Font, opts *FaceOptions) (font.Face, error) + type Collection = sfnt.Collection + func ParseCollection(src []byte) (*Collection, error) + func ParseCollectionReaderAt(src io.ReaderAt) (*Collection, error) + type Face struct + 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(r0, r1 rune) fixed.Int26_6 + func (f *Face) Metrics() font.Metrics + type FaceOptions struct + DPI float64 + Hinting font.Hinting + Size float64 + type Font = sfnt.Font + func Parse(src []byte) (*Font, error) + func ParseReaderAt(src io.ReaderAt) (*Font, error)