|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Which face inside a family a font-family lookup wants, taken from the element's computed CSS font properties. More...
#include "donner/svg/resources/FontCatalogTypes.h"
Public Member Functions | |
| bool | operator== (const FontFaceRequest &other) const =default |
| Equality comparison. | |
Public Attributes | |
| int | weight = 400 |
| CSS font-weight, 100-900 (700 = bold). | |
| FontStyle | style = FontStyle::Normal |
| CSS font-style. | |
| FontStretch | stretch = FontStretch::Normal |
| CSS font-stretch. | |
Which face inside a family a font-family lookup wants, taken from the element's computed CSS font properties.
A family is a set of faces, not one file: "Helvetica" covers Regular, Bold, Oblique, and Bold Oblique. Providers must honour this or font-weight: bold silently renders as regular.