Click here to Skip to main content
12,957,526 members (57,345 online)
Rate this:
 
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 20: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 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)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,994
CHill60 3,550
Maciej Los 3,312
ppolymorphe 2,170
Jochen Arndt 1,973


Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 29 Sep 2012
Copyright © CodeProject, 1999-2017
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