ITrueTypeFont class

ITrueTypeFont class

Declares methods for working with TrueType fonts.

The ITrueTypeFont type exposes the following members:

Properties

PropertyDescription
family_nameGets the name of the font family.
sub_family_nameGets the subfamily name of the font.
full_font_nameGets the full name of the font.
data_sizeGets the size of the font data in bytes.
styleGets the style of the font.

Methods

MethodDescription
get_dataOpens the stream with the font data. The caller is responsible for disposing the stream.
get_descentGets the descent of the font at the specified font size.
get_ascentGets the ascent of the font at the specified font size.

See Also