|
denigma 4.0.0
|
One stretch of formatted text in a single font, holding either text or music glyphs. More...
#include <formatted_text.h>
Public Member Functions | |
| bool | isGlyphRun () const noexcept |
| True when the run is music glyphs rather than text. | |
Public Attributes | |
| std::string | text |
| Visible UTF-8 text of the run. For a glyph run, the source characters the glyphs came from. | |
| musx::dom::ResolvedFontInfo | font |
| Document-independent snapshot of the run's font. | |
| std::vector< std::string > | glyphNames |
| One SMuFL glyph name per code point when the run is music glyphs; empty for a text run. | |
| std::optional< Insert > | insert |
| The insert the run was substituted for, when it was. Such a run is never merged with its neighbors. | |
One stretch of formatted text in a single font, holding either text or music glyphs.