class HexaPDF:: Font:: TrueTypeWrapper:: Glyph
Parent | Object |
---|
Represents a single glyph of the wrapped font.
Since some characters/strings may be mapped to the same glyph id by the font’s builtin cmap table, it is possible that different Glyph
instances with the same id
but different str
exist.
Attributes
The associated TrueTypeWrapper
object.
The glyph ID.
The string representation of the glyph.
Public Class Methods
Public Instance Methods
Returns false
since the word spacing parameter is never applied for multibyte font encodings where each glyph is encoded using two bytes.
Returns true
since this is a valid glyph.
Returns the width of the glyph.
Returns the glyph’s maximum x coordinate.
Returns the glyph’s minimum x coordinate.
Returns the glyph’s maximum y coordinate.
Returns the glyph’s minimum y coordinate.