Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why doesn't an installed font show up in the font picker dialog?

I've installed an OpenType font on my development machine expecting to then be able to choose that font for a label on a form.

The font is available in MS Word so I'm reasonably confident it was installed ok, but I can't see the font in the font-picker dialog for the label in Visual Studio. I also checked the font settings in Tools > Options and it isn't there either. Running the code from this answer doesn't list the font. I've tried restarting VS.Net.

What else can I do to make this font show up in Visual Studio?

like image 926
Ed Guiness Avatar asked Dec 23 '22 14:12

Ed Guiness


2 Answers

GDI+ doesn't support OpenType, only TrueType.

like image 51
Hans Passant Avatar answered Feb 02 '23 00:02

Hans Passant


If you haven't tried restarting Visual Studio yet, I'd give that a try.

Assuming you did that already, is the font listed in c:\windows\fonts\ okay? If it is, you might want to try removing it and then re-installing that font via the File > Install New Font... menu when you've got that window open.

Just some ideas and things to try. Hope it helps!

like image 33
Mat Nadrofsky Avatar answered Feb 01 '23 23:02

Mat Nadrofsky