|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
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"). | |
| ImFont * | previewFont = nullptr |
| Face used to preview this family's menu entry, or null to fall back to the default UI font. Lets each family render in its own face when the editor has it loaded (the embedded Roboto and Fira Code faces today). | |
| 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. | |
One selectable font family in the format bar's family picker.
| std::string donner::editor::FormatBarFontFamily::name |
CSS family name written to the document (e.g. "Roboto", "sans-serif").
| ImFont* donner::editor::FormatBarFontFamily::previewFont = nullptr |
Face used to preview this family's menu entry, or null to fall back to the default UI font. Lets each family render in its own face when the editor has it loaded (the embedded Roboto and Fira Code faces today).
| 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.