Font is the set of graphical representations of symbols. The way a font looks depends on the font’s parameters such as type family, typeface, font proportions, etc. Working with fonts is an important part of interface development, design, or typography. How will your interface look depends on the font you chose, but also there is a lot of factors you need to take to stop on the right font. Not only users do pay attention to the readability of the texts but also search engines take them into account when forming search results
Aspose.Font for C++ is a flexible and easy-to-use library to work with different font formats such as TTF, EOT, WOFF, CFF, and Type1. Using this API you will be able to read different fonts from files as well as from streams, provide their data structures information along with any glyph, encode information for all the font types, and save fonts. End-users can get help through its rendering subsystem to render any desired glyph or text.
At a Glance
An overview of Aspose.Font for C++ API.
- Support Multiple Formats
- Load font files from disc
- Load font from a stream
- Read font information
- Read Glyphs and Metrics info
- Detect Latin Symbols
- Extract embedded licensing info
- Render text
- Save updated font files
- Convert fonts to a more suitable format
The library fully supports C++ applications developed on the Windows and Linux platform having system requirements.
Supported File Formats
Aspose.Font for C++ supports the following file formats.
- True Type Font : TTF
- Web Open Font Format : WOFF
- Web Open Font Format version 2.0 : WOFF2
- Embedded OpenType : EOT
- Compact Font Format : CFF
- Adobe Type 1 font: PFA, PFB, AFM, PFM
- True Type Collections : TTC
Advanced C++ Font Management API Features
Load font documents from disc
Load font files stream
Read font information
Save updated font files to disc
Read Glyphs and Metrics information
Detect Latin Symbols in Fonts
Extract embedded licensing information
Render text using font glyphs
Support various font formats
Load, Extract and Save TrueType Font
Aspose.Font for C++ can easily load, extract, and save TrueType font formats. Here are just few lines of code for TrueType TTF.