Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeComposite ¶
DecodeComposite decodes the W and DW entries of a CIDFont dictionary.
Types ¶
type Info ¶
type Info struct { FirstChar pdf.Integer LastChar pdf.Integer Widths pdf.Array MissingWidth float64 }
Info contains the FirstChar, LastChar and Widths entries of a PDF font dictionary, as well as the MissingWidth entry of the FontDescriptor dictionary.
func EncodeSimple ¶
EncodeSimple encodes the glyph width information for a simple PDF font. The slice ww must have length 256 and is indexed by character code. Widths values are given in PDF glyph space units.
Click to show internal directories.
Click to hide internal directories.