|
|
Donner
C++20 SVG rendering library
|
A single entry listed in src:—either a local face, a URL, or inline data. More...
#include "donner/css/FontFace.h"
Public Types | |
| enum class | Kind : uint8_t { Local , Url , Data } |
| Specifies the source type for a font face declaration. More... | |
Public Attributes | |
| Kind | kind |
| Font source kind. | |
| std::variant< RcString, std::vector< uint8_t > > | payload |
| The payload of the source, which can be a URL or raw data (already parsed from the data URL). | |
| RcString | formatHint |
| Format hint, if provided, e.g. "woff2" or "opentype". | |
| std::vector< RcString > | techHints |
| Technology hints, if provided, e.g. {"variations","color-COLRv1"}. | |
A single entry listed in src:—either a local face, a URL, or inline data.
|
strong |