I have code written for a simple text editor, specifically for creating small documents. By small, i mean page sizes of less than 2" square.
One thing i wanted to do was to export these documents as either JPGs or PDF documents. I found the PaintPageToCanvas method which makes this process very easy.
There is only one issue i've found with this method. One of the options i've given my users is to have a tab stop with leader dots. This result in text like this
text here..................text at right margin
In the actual editor itself this works as expected. But when i use PaintPageToCanvas i get something like this:
text here ............ text at right margin
i'm not sure if this will format properly on the forum, but there are distinct whitespage 'gaps' before and after the dot fill, unlike in the editor.
What can i do to fix/work around this issue?
Thanks,
Alan