[.net] Sharper font edges- and Simpsons trivia!!!
When I write fonts onto an Image and save it, the font edges are smoothed if my Display settings have font smoothening turned on, and not smoothed if it's not turned on (which makes sense). How do I say, when I write text onto an image, that I want the font edges NOT smoothed regardless of whether the setting is on or not?
***Simpsons Trivia*** (Just to get you to read my post)
Q: Who were the four members of the B-Sharps?
You might try:
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
Where g is your Graphics object. If that does work for you look at some of the other flags in the TextRenderingHint enumeration.
{Homer, Apu, Barny, Skinner}
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
Where g is your Graphics object. If that does work for you look at some of the other flags in the TextRenderingHint enumeration.
{Homer, Apu, Barny, Skinner}
Quote:You might try:
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
Wouldn't this force rendering WITH smoothed edges? For un-smoothed edges, I think you want SingleBitPerPixel or SingleBitPerPixelGridFit.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement