GlyphData class

GlyphData class

Container class for glyph data required for precise typesetting of a text string.

The GlyphData type exposes the following members:

Constructors

ConstructorDescription
initCreates new instance.

Properties

PropertyDescription
natural_widthGets/sets glyph width defined by font.
advance_widthGets/sets glyph width taking into account kerns.
u_offsetGets/sets horizontal offset.
v_offsetGets/sets vertical offset.

See Also