Versions in this module Expand all Collapse all v0 v0.1.1 Mar 29, 2024 v0.1.0 Dec 26, 2023 Changes in this version + var AppleTrueType = MustNewTag("true") + var OpenType = MustNewTag("OTTO") + var PostScript1 = MustNewTag("typ1") + var TrueType = Tag(0x00010000) + func WriteTTF(tables []Table) []byte + type Loader struct + Type Tag + func NewLoader(file Resource) (*Loader, error) + func NewLoaders(file Resource) ([]*Loader, error) + func (ld *Loader) Tables() []Tag + func (pr *Loader) HasTable(table Tag) bool + func (pr *Loader) RawTable(tag Tag) ([]byte, error) + func (pr *Loader) RawTableTo(tag Tag, dst []byte) ([]byte, error) + type Resource interface + Read func([]byte) (int, error) + ReadAt func([]byte, int64) (int, error) + Seek func(int64, int) (int64, error) + type Table struct + Content []byte + Tag Tag + type Tag uint32 + func MustNewTag(str string) Tag + func NewTag(a, b, c, d byte) Tag + func (t Tag) String() string