I have a lot of experience drawing text to canvases (both screen and
printer). However, I am faced with recreating the static text on some
government forms that include blocks of text within which certain words are
highlighted by bold, italic, underline and sometimes even a font family
I usually use the DrawText function to handle wrapped text blocks, and I was
hoping there was a way to pass it (or another API call) RichText or
something similar to achieve the desired results -- but it appears not to be
available in the API.
Have I missed something in the API? Or, am I going to have to write my own
routine for this? If so -- any suggestions?
Basically I need something where I can pass a canvas, a string of tagged
text, and a TRect for the wrapping boundary, and have it output something
"This is some test text in which this word is *BOLD*
and another word might be *ITALIC* and the whole
thing wraps to a rectangle."