|
|
Donner
C++20 SVG rendering library
|
In‑memory representation of a complete WOFF font. More...
#include "donner/base/fonts/WoffFont.h"
Public Attributes | |
| std::optional< std::string > | familyName |
| Optional family name, if available. | |
| uint32_t | flavor = 0 |
| SFNT flavor, e.g. 0x00010000 or 'OTTO'. | |
| std::vector< WoffTable > | tables |
| Parsed tables. | |
In‑memory representation of a complete WOFF font.
flavor stores the sfnt flavor (for example 0x00010000 for TrueType or the four‑character code 'OTTO' for OpenType‑CFF). The tables vector contains all decompressed tables in the order they were encountered in the source file.
| std::optional<std::string> donner::fonts::WoffFont::familyName |
Optional family name, if available.
| uint32_t donner::fonts::WoffFont::flavor = 0 |
SFNT flavor, e.g. 0x00010000 or 'OTTO'.
| std::vector<WoffTable> donner::fonts::WoffFont::tables |
Parsed tables.