Donner
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
FontFace.h File Reference
#include <cstdint>
#include <memory>
#include <variant>
#include <vector>
#include "donner/base/RcString.h"
Include dependency graph for FontFace.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::css::FontFaceSource
 A single entry listed in src:—either a local face, a URL, or inline data. More...
struct  donner::css::FontFace
 In-memory representation of a single @font-face rule. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::css
 Donner CSS library, a standalone composable CSS parser.

Class Documentation

◆ donner::css::FontFace

struct donner::css::FontFace

In-memory representation of a single @font-face rule.

Collaboration diagram for donner::css::FontFace:
[legend]
Class Members
RcString familyName font-family descriptor
int fontStretch = 5 font-stretch descriptor (1-9, 5=normal, matching FontStretch enum)
int fontStyle = 0 font-style descriptor (0=normal, 1=italic, 2=oblique)
int fontWeight = 400 font-weight descriptor (100-900, 400=normal, 700=bold)
vector< FontFaceSource > sources ordered src list