Click here to Skip to main content
15,878,970 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have used Application.EnableVisualStyles() even now the label font on my form looks pixelized (ie., Like DOS character) How can I fix it ?

This is the screenshot
http://i.stack.imgur.com/DtjUM.jpg[^]
Posted
Updated 23-Jun-14 21:58pm
v2
Comments
E.F. Nijboer 24-Jun-14 3:51am    
We can't see what you see on your screen. Check the fonts used in your form. Did you change it?
OriginalGriff 24-Jun-14 3:53am    
Try taking a screenshot, and uploading it to Dropbox - we can't help unless you know what you are talking about!
Yesudass Moses 24-Jun-14 3:58am    
This is the screenshot. FOnt is Calibri, and it doesnt seems to be like it.
http://i.stack.imgur.com/DtjUM.jpg

1 solution

"FOnt is Calibri, and it doesnt seems to be like it."

That isn't Calibri - it looks like a mono-spaced font, possibly system or similar, in a small font size.

Check the system the app is running on: what fonts does it have installed? Because if Calibri isn't there, it will select the "nearest" and use that.
Try Verdana or Arial - they should be installed.
 
Share this answer
 
Comments
Yesudass Moses 25-Jun-14 7:12am    
Thanks for the answer. :)
I got the solution..
Application.SetCompatibleTextRenderingDefault(false);
This fixed my issue..

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