Yeah my SetCompatibleTextRendering should have no impact as I use no stock controls. Every control is either mine built from scratch and does it's own rendering, or HtmlPanel. As I suspexcted, changing it to false made no difference. It's holdover code from the prototype back when I used to still use some standard controls.
However, you said:
.Net 2.0 target runtime, FYI.
As I said before, if you aren't using this hint, and you are using TextRenderer.DrawText, then this quite possibly why it is not working.
I will go back to my modified 1.4.1 code and see if I added that hint by chance, and perhaps that is why it is working in my build...
Ryan
However, you said:
"TextRenderer" uses GDI text rendering, also setting "e.Graphics.TextRenderingHint" is for GDI+ it has no effect on "TextRenderer.DrawText".That is simply not true, despite what the docs may say. Not setting the hint makes the label text look EXACTLY like your text. Exactly. TextRenderer.DrawText definitely is affected by this hint.
.Net 2.0 target runtime, FYI.
As I said before, if you aren't using this hint, and you are using TextRenderer.DrawText, then this quite possibly why it is not working.
I will go back to my modified 1.4.1 code and see if I added that hint by chance, and perhaps that is why it is working in my build...
Ryan