ITrueTypeFont class
ITrueTypeFont class
Declares methods for working with TrueType fonts.
The ITrueTypeFont type exposes the following members:
Properties
Property | Description |
---|---|
family_name | Gets the name of the font family. |
sub_family_name | The Subfamily name distinguishes the font in a group with the same Family name. This is assumed to address style (italic, oblique) and weight (light, bold, black, etc.). A font with no particular differences in weight or style should have the string “Regular”. |
full_font_name | Full font name is generally represented as combination of Family and Subfamily names. |
data_size | Gets the size of the font data in bytes. |
Methods
Method | Description |
---|---|
get_data | Opens the stream with the font data. The caller is responsible for disposing the stream. |
get_descent | Gets the descent of the font in points using the specified font size. |
get_ascent | Gets the ascent of the font in points using the specified font size. |
See Also
- module
aspose.html.drawing