Versions in this module Expand all Collapse all v0 v0.1.14 Sep 12, 2024 v0.1.13 Jul 28, 2024 Changes in this version + func HBSubset(src []byte, cutset map[rune]struct{}) ([]byte, error) + func HBSubsetC(src []byte, charset map[rune]struct{}) ([]byte, error) + func HBSubsetPath(path string, cutset map[rune]struct{}) ([]byte, error) + func TTFSubset(f *sfnt.Font, src []byte, cutset map[rune]struct{}) ([]byte, error) + type BasicSubsetter struct + func (b *BasicSubsetter) Init(SFNT *sfnt.Font, src []byte, _ string) + func (b *BasicSubsetter) Subset(cutset map[rune]struct{}) ([]byte, error) + type HarfBuzzCGoSubsetter struct + func (h *HarfBuzzCGoSubsetter) Init(_ *sfnt.Font, src []byte, _ string) + func (h *HarfBuzzCGoSubsetter) Subset(cutset map[rune]struct{}) ([]byte, error) + type HarfBuzzSubsetter struct + func (h *HarfBuzzSubsetter) Init(_ *sfnt.Font, src []byte, path string) + func (h *HarfBuzzSubsetter) Subset(cutset map[rune]struct{}) ([]byte, error) + type TableTag uint32 + const Cmap + const Glyf + const Head + const Hhea + const Hmtx + const Loca + const Maxp