I apologize if this double posts.
I'm currently building a document viewer that uses DrawString(...) to render
text. I've gotten it working quite well, including getting MeasureString and
StringFormat.GenericTypographic. However, I run into a problem when I have
to print a string consisting purely of whitespace.
This problem only occurs when it's a collection of spaces, like " ", and
the Font says to underline it. If there's non-whitespace text on both sides
of the spaces, the spaces will be underlined. Otherwise, no underline. Is
there a way I can get GDI+ to underline spaces like in Word?
Thanks in advance,
kate