Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to 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 28-Sep-12 21:15pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
Comments
Espen Harlinn at 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)



Advertise | Privacy | Mobile
Web04 | 2.8.1411022.1 | Last Updated 29 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100