Is it true, visual studio can't handle fonts i

2019-04-29 20:29发布

问题:

I was trying to solve my XNA Font problem, when I found this here:

Visual Studio doesn’t recognize any fonts you add after it is up and running.

Is there a way to use fonts installed after Visual Studio?

After finding out that is was the Font file why would the tutorial mention something like that ?

回答1:

I have successfully installed a PROGGY font. It was usable after I restarted VC6.

I suspect they are talking about restarting your visual studio, instead of reinstalling your visual studio.



回答2:

I've had issues with VS recognizing fonts that were installed while VS was open. Restarting VS and the machine didn't resolve the issue. The fix was closing VS, uninstalling the fonts, then re-installing them while VS was not running.



回答3:

I'd imagine this is only true until you restart the IDE. Easy enough to test, isn't it?



回答4:

You should close Visual Studio and open it again. If it doesn't work, than you might need to uninstall the font (if from a program) and install it once Visual Studio is closed. But, I doubt this is necessary, maybe rebooting your machine in the last resort but closing VS and opening it again should do the job,



回答5:

I was trying to install the Source Code Pro font, and found that Visual Studio would only display TTF fonts in the dropdown. I had been installing the ODF version and spent a lot of time restarting the computer and Visual Studio in various combinations. Finally I tried the TTF and it was instantly recognized.