I always got the impressoin that this type of thing was done pretty much as above - you create separate graphical elements to encapsulate each change in font. This is likely closely linked to how tags (whether HTML or proprietary or other) work as well: you begin a block, and then end it, and each block gets to be its own graphical element.
In reply to Re^3: perl/Tk font question
by Tanktalus
in thread perl/Tk font question
by alw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |