Documentation ¶
Overview ¶
Package type1c provides a parser for the CFF font format defined at https://www.adobe.com/content/dam/acom/en/devnet/font/pdfs/5176.CFF.pdf. It can be used to read standalone CFF font files, but is mainly used through the truetype package to read embedded CFF glyph tables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseEncoding ¶
func ParseEncoding(file *bytes.Reader) (*simpleencodings.Encoding, error)
Parse parse a .cff font file, extracting its encoding Although CFF enables multiple font or CIDFont programs to be bundled together in a single file, embedded CFF font file in PDF or in TrueType/OpenType fonts shall consist of exactly one font or CIDFont. Thus, this function returns an error if the file contains more than one font.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.