4

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?

dcastro
  • 66,540
  • 21
  • 145
  • 155
user2879224
  • 43
  • 1
  • 3

5 Answers5

9

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.

BoltBait
  • 11,361
  • 9
  • 58
  • 87
1

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

Unicode alternative

Usman Waheed
  • 555
  • 5
  • 14
  • Thanks I will try this just so I can move my development forwards but I'm still curious to find out why this would suddenly stop working for me. Its a Windows forms app so I don't have to worry about the problems that non-standard fonts cause in certain web browsers. – user2879224 Feb 28 '14 at 10:54
  • Thanks Usman, I simply set the font name to Lucida Sans Unicode and then added buttonRefresh.Text = "\u21BB"; to my forms load event. This gave me the refresh symbol I was looking for. – user2879224 Feb 28 '14 at 11:09
1

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

Vadim
  • 107
  • 2
  • 8
0

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

Community
  • 1
  • 1
Rahul Misra
  • 561
  • 1
  • 7
  • 15
0

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

RaRdEvA
  • 694
  • 7
  • 12