Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::FormatBarFontFamily Struct Reference

One selectable font family in the format bar's family picker. More...

#include "donner/editor/TextFormatBarPresenter.h"

Public Attributes

std::string name
 CSS family name written to the document (e.g. "Roboto", "sans-serif").
FormatBarFontPreview preview
 Donner-rendered label in this family's own face. An unavailable preview falls back to UI text while the bounded worker request is in flight.
svg::FontSource source = svg::FontSource::Embedded
 Origin of this family in the catalog. The picker lists the Embedded group before the System group and shows a header at each group boundary.

Detailed Description

One selectable font family in the format bar's family picker.

Member Data Documentation

◆ name

std::string donner::editor::FormatBarFontFamily::name

CSS family name written to the document (e.g. "Roboto", "sans-serif").

◆ preview

FormatBarFontPreview donner::editor::FormatBarFontFamily::preview

Donner-rendered label in this family's own face. An unavailable preview falls back to UI text while the bounded worker request is in flight.

◆ source

svg::FontSource donner::editor::FormatBarFontFamily::source = svg::FontSource::Embedded

Origin of this family in the catalog. The picker lists the Embedded group before the System group and shows a header at each group boundary.


The documentation for this struct was generated from the following file: