class HexaPDF:: Font:: TrueType:: Table:: Glyf:: Glyph
Parent | Object |
---|
Represents the definition of a glyph. Since the purpose of this implementation is not editing or rendering glyphs, the raw glyph data is only decoded so far as to get general information about the glyph.
Attributes
The array with the component glyph offsets, or nil
if this is not a compound glyph.
The array with the component glyph IDs, or nil
if this is not a compound glyph.
The number of contours in the glyph. A zero or positive number implies a simple glyph, a negative number a glyph made up from multiple components
Contains the raw byte data of the glyph.
The maximum x value for coordinate data.
The minimum x value for coordinate data.
The maximum y value for coordinate data.
The minimum y value for coordinate data.
Public Class Methods
Creates a new glyph from the given raw data.
Public Instance Methods
Returns true
if this a compound glyph.