-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Or, possibly equivalently, allow Text objects to have multiple fonts.
Currently the Text object handles layout of the character glyphs, but is currently restricted to displaying characters from just one font. This is fine for simple text display, but awkward for rich text display. A potential solution is to add a Glyphs object which takes locations of character glyphs, together with flyweight glyph objects (similar in many ways to the ColoredBitmap) where the glyph objects hold the font, character, etc. information (and possibly how to render themselves at a point).
This allows external code to handle the layout/formatting of text and create/modify the glyph information appropriately.
Metadata
Metadata
Assignees
Labels
No labels