Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
FontFace.h File Reference
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <utility>
#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.

Enumerations

enum class  donner::css::FontFaceDescriptor {
  Unknown ,
  Family ,
  Source ,
  Weight ,
  Width ,
  Style
}
 Descriptors supported by Donner's @font-face parser.

Functions

FontFaceDescriptor donner::css::IdentifyFontFaceDescriptor (std::string_view name)
 Look up an ASCII case-insensitive descriptor, including the font-stretch alias for font-width.
std::string donner::css::FontFaceIdentityKey (const FontFace &face)
 Build a string that identifies an @font-face declaration.