Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
FontCatalogTypes.h File Reference
#include <cstdint>
#include <ostream>
#include <string>
#include <string_view>
#include <vector>
#include "donner/svg/core/FontStretch.h"
#include "donner/svg/core/FontStyle.h"
Include dependency graph for FontCatalogTypes.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::FontFamilyInfo
 One entry in the font catalog: a family name plus how it was discovered and classified. More...
struct  donner::svg::FontFaceRequest
 Which face inside a family a font-family lookup wants, taken from the element's computed CSS font properties. More...
class  donner::svg::FontFamilyProvider
 Interface implemented by each font source (embedded, system) and by the aggregate FontCatalog. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.

Enumerations

enum class  donner::svg::FontSource {
  donner::svg::Embedded ,
  donner::svg::System
}
 Where a font family in the FontCatalog originates. More...
enum class  donner::svg::FontCategory {
  SansSerif ,
  Serif ,
  Monospace ,
  Display ,
  Handwriting ,
  Unknown
}
 Coarse style bucket for a font family, used to give the picker variety and (later) to inform generic-family fallback. More...

Functions

std::ostream & donner::svg::operator<< (std::ostream &os, const FontFaceRequest &request)
 Ostream output operator, so test failures print the requested face instead of an opaque struct.