Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPredefined ¶ added in v0.3.2
TODO(voss): use this
func NewFrozenSimpleEncoder ¶ added in v0.2.0
func NewFrozenSimpleEncoder(enc SimpleEncoder) frozenSimpleEncoder
Types ¶
type CID ¶
type CID uint32
CID (short for character identifier) gives the index of character in a character collection.
TODO(voss): should this be a uint16?
type CIDEncoder ¶
type CIDEncoder interface { Encode(glyph.ID, []rune) []byte Encoding() []Record CIDSystemInfo() *type1.CIDSystemInfo }
func NewCIDEncoder ¶
func NewCIDEncoder() CIDEncoder
type SimpleEncoder ¶
type SimpleEncoder interface { Encode(glyph.ID, []rune) byte Overflow() bool Encoding() []glyph.ID }
func NewSimpleEncoder ¶
func NewSimpleEncoder() SimpleEncoder
Click to show internal directories.
Click to hide internal directories.