ITrueTypeFont Interface |
Namespace: Aspose.Html.Drawing
The ITrueTypeFont type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataSize |
Returns the size of the font data in bytes
|
![]() | FamilyName |
Get the name of the font family.
|
![]() | FullFontName |
This should be a combination of "FamilyName" and "SubFamilyName". Exception: if the font is "Regular" as indicated
in "SubFamilyName", then use only the family name contained in "FamilyName".
An exception to the above definition of Full font name is for Microsoft platform strings
for CFF OpenType fonts: in this case, the Full font name string must be identical to the PostScript
FontName in the CFF Name INDEX.
|
![]() | SubFamilyName |
The Font Subfamily name distinguishes the font in a group with the same Font 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 (e.g. medium weight, not italic and fsSelection bit 6 set) should have the string "Regular" stored in this position.
|
Name | Description | |
---|---|---|
![]() | GetAscent |
Returns the ascent, in design units. Corresponds to FontFamily.GetCellAscent.
|
![]() | GetData |
Open the stream with font data. The caller is responsible for disposing the stream.
|
![]() | GetDescent |
Returns the descent, in design units. Corresponds to FontFamily.GetCellDescent.
|