|
denigma 4.0.0
|
Document-independent classification of a formatted Enigma text. More...
#include <formatted_text.h>
Public Attributes | |
| std::vector< text::Run > | runs |
| Visible runs in source order. | |
| std::string | plainText |
| The runs' text joined, with Unicode accidental characters. | |
Document-independent classification of a formatted Enigma text.
Every value is a snapshot, so an instance remains valid after the document that produced it is released. Hidden and empty chunks are dropped. Within a chunk, characters that resolve to SMuFL glyph names and characters that do not form separate runs, so that a reader lacking the source font can still draw the glyphs by name; the runs otherwise keep source order and fonts. An accidental insert is a glyph run named by its SMuFL accidental, with the Unicode accidental character as its text.