On Apr 15, 2007, at 21:37 UTC, Marc (aliacta.com) wrote: > > Sure. Just draw the text in black a pixel or two below and to the > > right of its "real" position; then draw it again in white at its > > proper position. > > That's how I do it now but it doesn't look good enough. Especially > not with drawn text. With two superimposed StaticTexts it looks a > lot better but that's not as clean as actually drawing it all.
I don't understand this. You're just doing yourself exactly what the StaticTexts do (a StaticText is nothing but a simple control that calls DrawString to paint itself). Moreover, I draw shadowed text this way all the time. > AFAIK > anti-aliasing isn't supported with drawn text but is in StaticTexts. No, that's incorrect. Text is always drawn anti-aliased, unless you've mucked with your system (at the OS level) to turn anti-aliasing off. If you've set Graphics.UseOldRenderer = true, then you'd be drawing with QuickDraw, which does a different type of antialiasing than Quartz. Could that be what you're seeing? > RBNUBE's way of doing it with blurred text would be more like it. No, blurring is not the same as anti-aliasing. > I'll have to test all of this out myself I'm afraid since no one seems > to have walked this path before me. That's because the rest of us simply draw the text twice, and it comes out perfectly anti-aliased and looks great. I can't imagine why it's not doing that for you. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] Verified Express, LLC "Making the Internet a Better Place" http://www.verex.com/ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
