Click here to Skip to main content
15,886,857 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi everyone,

This is not regarding a C# code, but the font displayed on a Label control.
I'm using "Segoe UI" font and displaying a simple line of text on a Label control.
What happens is, when I increase the font size to 36px or above, the text appears pixilated on the Label. Is there any solution to avoid this? How does Windows achieve this on a Metro Style app with the same font?

Thanks in advance.
Posted

1 solution

You could try to implement the painteventhandler and there you are able to antialias your font using this sample here:
http://msdn.microsoft.com/en-us/library/a619zh6z.aspx[^]
 
Share this answer
 
Comments
Espen Harlinn 29-Sep-12 6:51am    
5'ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900