Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 719
user2879224 Avatar asked Dec 19 '22 17:12

user2879224


2 Answers

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.

like image 156
BoltBait Avatar answered Jan 05 '23 01:01

BoltBait


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

Unicode alternative

like image 29
Usman Waheed Avatar answered Jan 05 '23 00:01

Usman Waheed