|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
Parse a WOFF font file. More...
#include "donner/base/fonts/WoffParser.h"
Static Public Member Functions | |
| static ParseResult< WoffFont > | Parse (std::span< const uint8_t > bytes) |
| Parse the given WOFF data. | |
Parse a WOFF font file.
This parser reads the WOFF format (version 1.0), decompresses the font tables, and returns a WoffFont object containing the parsed data.
| bytes | The WOFF file data as a byte span. |
|
static |
Parse the given WOFF data.
| bytes | The WOFF file data as a byte span. |