I have a .ttf file that I want to install directly to Visual Studio's fonts for me to use in the future. How can I do it so it shows among the other fonts options?
Asked
Active
Viewed 516 times
-1
-
If your application is winform, here's a document you can refer to : https://learn.microsoft.com/en-us/dotnet/desktop/winforms/advanced/how-to-create-a-private-font-collection?view=netframeworkdesktop-4.8&redirectedfrom=MSDN – Xingyu Zhao Oct 13 '21 at 02:10
-
Do you mean that you want to use it in the code editor? – Mary Oct 13 '21 at 02:26
-
I want to use it on the design form. I'm sorry, I'm new so I'm not familiar with stuff. – Alex L Oct 13 '21 at 05:36
-
[How do I embed my own fonts in a WinForms app?](https://stackoverflow.com/questions/556147/how-do-i-embed-my-own-fonts-in-a-winforms-app) It also works in vb.net. – Xingyu Zhao Oct 14 '21 at 01:36
1 Answers
0
Alex,
You shouldn't have to install the font in Visual Studio directly, but just on the system Visual Studio is running on.
This codeproject link explains that: Here
I have done this on my own machine as well, where we use a specific barcode font, that I installed on my machine in this manner. So now when I go to a label or textbox -> Font -> The newly added font appears as an option.

J. Rockwood
- 118
- 7
-
-
1@AlexL You should google for how to install fonts on the version of Windows that you are using. – Andrew Morton Oct 13 '21 at 08:13