Glyph class
Glyph class
Represents a glyph
Constructors
| Name | Description |
|---|---|
| Glyph(glyph_index, advance, advance_offset, ascender_offset) | Initializes new instance of this class. |
Properties
| Name | Description |
|---|---|
| additional_advance | Additional advance width which may be used to adjust placement for the subsequent glyph. |
| advance | Advance width indicating placement for the subsequent glyph. |
| advance_offset | Horizontal (x) offset relative to glyph position. Mostly used to attach marks (like diacritics) to base characters. |
| ascender_offset | Vertical (y) offset relative to glyph position. Mostly used to attach marks (like diacritics) to base characters. |
| glyph_index | Index of the glyph (GID) in the physical font. |
Methods
| Name | Description |
|---|---|
| clone() | Returns a clone of this instance. |
| get_width(em, font_size) | Returns width (advance) of the glyph in points. |
See Also
- module aspose.words.shaping