ITrueTypeFont Interface
Contents
[
Hide
]ITrueTypeFont interface
Declares methods for working with TrueType font.
public interface ITrueTypeFont
Properties
Name | Description |
---|---|
getDataSize Returns the size of the font data in bytes | |
getFamilyName Get the name of the font family. | |
getFullFontName 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. | |
getSubFamilyName 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. |
Methods
Name | Description |
---|---|
getAscent(float) | Returns the ascent, in points. |
getData() | Open the stream with font data. The caller is responsible for disposing the stream. |
getDescent(float) | Returns the descent, in points. |
See Also
- package com.aspose.html.Drawing
- package Aspose.HTML