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::Bundled |
| Origin of this family in the catalog. The picker lists the Bundled group before the System group and shows a header at each group boundary. | |
| svg::FontAssetState | availability = svg::FontAssetState::Ready |
| Nonblocking delivery status; decoded previews remain separate from encoded availability. | |
| bool | previewFailed = false |
| The available bytes could not be decoded by the preview consumer. | |
One selectable font family in the format bar's family picker.
| svg::FontAssetState donner::editor::FormatBarFontFamily::availability = svg::FontAssetState::Ready |
Nonblocking delivery status; decoded previews remain separate from encoded availability.
| std::string donner::editor::FormatBarFontFamily::name |
CSS family name written to the document (e.g. "Roboto", "sans-serif").
| 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.
| bool donner::editor::FormatBarFontFamily::previewFailed = false |
The available bytes could not be decoded by the preview consumer.
| svg::FontSource donner::editor::FormatBarFontFamily::source = svg::FontSource::Bundled |
Origin of this family in the catalog. The picker lists the Bundled group before the System group and shows a header at each group boundary.