user2879224
user2879224

Reputation: 43

Windows Form Controls - Font not changing for Wingding

I have a Visual Studio 2013 Windows Forms C# project to which I earlier added a button that used the Wingdings 3 font - and it worked. I've since created a new solution and tried the same thing but whenever I select Wingdings as the Font Name for any type of Windows Forms Control it always defaults to the Microsoft Sans Serif font in the Form Designer. For other fonts the Designer picks up the changes. I've also noticed that the same problem also ocurrs in my Visual Studio 2008 environment.

Could I have inadvertently changed an environment setting which disables fonts of certain type?

Upvotes: 4

Views: 6003

Answers (5)

RaRdEvA
RaRdEvA

Reputation: 766

gdicharset set to 1 (default) and it will be fixed. Don't move UseCompatibleTextRendering to true, leave it as false.

Upvotes: 0

Vadim
Vadim

Reputation: 137

Had the same issue with the label and Wingdings 2. Setting UseCompatibleTextRendering to True in the control properties worked for me

Upvotes: 1

BoltBait
BoltBait

Reputation: 11489

In visual studio, click on the control and in the property section expand the font section. Change the Font to Wingdings and the GdiCharSet value from 0 to 2. Wingdings should be working for you then.

I'm using Visual Studio 2015. Hopefully your version has the same option.

Upvotes: 9

Usman Waheed
Usman Waheed

Reputation: 553

after reasearching a little on stackoverflow, I come up with this unicode solution:

Unicode alternative

Upvotes: 1

Rahul Misra
Rahul Misra

Reputation: 669

Be careful with this font though, it is not a standard font and hence not support by all applications. You may be able to find a standard Unicode alternative

Wingdings font family does not seem to work on Firefox and Opera

Upvotes: 0

Related Questions