|
|
Donner
C++20 SVG rendering library
|
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. |