Working with TrueType and OpenType Fonts | C++
TTF fonts have become an essential part of digital communication, enabling the display of text in a visually appealing and readable manner across a wide range of devices and applications, including operating systems, word processors, graphic design software, and web browsers.
True Type fonts give you scalability, wide collections of glyphs, Unicode support, hinting, and embeddability along with various character sets, including ASCII, Latin, Cyrillic, Greek, and many others.
OTF or OpenType is an extension of the TrueType font format, keeping the TTF structure but gaining additional features like support for advanced typography and multilingual text.
Aspose.Font for C++ API Solution lets you work with TrueType and OpenType fonts in your C++ projects. You can:
- Load TTF and OTF font files, extract data from these files and save them back
- Work with Glyphs and Metrics of TTF/OTF fonts.
- Render text using custom interfaces.
- Convert True Type fonts to another font format.
The functionality for working with TTF and OTF fonts within Aspose.Font API Solution for C++ is represented by the next namespaces:
- Aspose.Font.Ttf - to hold classes describing objects related to TTF Font format.
- Aspose.Font.TtfCMapFormats - has classes for work with different formats of CMap subtables.
- Aspose.Font.TtfCommon - to store classes common for the TrueType format area.
- Aspose.Font.TtfHelpers - provides entities to work with expanded functionality on TTF font objects.
- Aspose.Font.TtfTables - has classes to manipulate tables of TrueType format.