Aspose::Font::Ttf::TtfFont class
Contents
[
Hide
]TtfFont class
Represents TrueType Font (TTF).
class TtfFont : public Aspose::Font::Font
Methods
Method | Description |
---|---|
Convert(Aspose::Font::FontType) override | Converts the Font into another format. |
Convert(Aspose::Font::FontType, System::SharedPtr<System::Collections::Generic::ICollection<uint32_t>>) | Converts the Font into another format with limiting character set. |
virtual get_CffFont() | Gets CFF Font if present. |
get_Encoding() override | Gets Font encoding. |
get_FontDefinition() override | Gets Font definition. |
get_FontFamily() override | Gets or Sets Font family. |
get_FontName() override | Gets or Sets Font face name. |
get_FontNames() override | Gets Font names. |
get_FontStyle() override | Gets Font style. This is a value computed and represented in generalized type. |
get_FontType() override | Gets Font type. Returns FontType.TTF value. |
get_GlyphIdType() override | Gets glyph id type specification. |
get_IsSymbolic() | Returns true in case Font is symbolic. |
get_Metrics() override | Gets Font metrics. |
get_NumGlyphs() override | Gets number of glyphs in the Font. |
get_PostscriptNames() override | Gets Postscript Font names. |
get_Style() override | Gets or Sets Font style. This is a raw string value provided by Font file. |
virtual get_TtfTables() | Gets TTF tables. |
GetAllGlyphIds() override | Returns array of all glyph ids, available in the Font. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name. |
GetGlyphById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>) override | Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name. |
GetGlyphById(System::String) | Returns glyph by glyph name. Name (string) glyph addressing is supported for TTF fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name. |
GetGlyphById(uint32_t) | Returns glyph by glyph id. |
virtual GetGlyphComponentsById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>) | Gets a glyph by glyph identifier passed and fills passed list of glyph identifiers with components of this glyph. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name. |
GetGlyphComponentsById(System::String, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>) | Gets a glyph by glyph name passed and fills passed list of glyph identifiers with components of this glyph. |
GetGlyphComponentsById(uint32_t, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>) | Gets a glyph by glyph index passed and fills passed list of glyph identifiers with components of this glyph. |
GetGlyphsForText(System::String) override | Get glyphs representation for text. |
set_FontFamily(System::String) override | Gets or Sets Font family. |
set_FontName(System::String) override | Gets or Sets Font face name. |
set_Style(System::String) override | Gets or Sets Font style. This is a raw string value provided by Font file. |
See Also
- Class Font
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++