Versions in this module Expand all Collapse all v0 v0.0.6 May 16, 2021 Changes in this version + type Collection struct + func ParseCollection(src []byte) (*Collection, error) + func ParseCollectionReaderAt(src io.ReaderAt) (*Collection, error) + func (c *Collection) Font(i int) (*Font, error) + func (c *Collection) Layout(ppem fixed.Int26_6, maxWidth int, txt io.Reader) ([]text.Line, error) + func (c *Collection) NumFonts() int + func (c *Collection) Shape(ppem fixed.Int26_6, str text.Layout) op.CallOp + type Font struct + func Parse(src []byte) (*Font, error) + func (f *Font) Layout(ppem fixed.Int26_6, maxWidth int, txt io.Reader) ([]text.Line, error) + func (f *Font) Metrics(ppem fixed.Int26_6) font.Metrics + func (f *Font) Shape(ppem fixed.Int26_6, str text.Layout) op.CallOp