I am trying to add new fonts to my Netbeans editor by downloading them and double-clicking the .ttf files and pressing 'Install' on the upper left corner. I am able to install the fonts with no issues. However, when I reload Netbeans and go to select the new font, it does not appear on the list of available fonts. Restarting Windows doesn't help. Has anyone had this issue before? And if so, we you able to fix it and how?
Thanks in advance.
EDIT: I am using Netbeans 10.
EDIT2: I am trying to install Roboto Mono and Inconsolata, here are the links to the downloads:
https://fonts.google.com/specimen/Inconsolata
https://fonts.google.com/specimen/Roboto+Mono
Get back to me if you have any luck, thank you.
To resolve this issue: Click Start, point to Settings, and then click Control Panel. Double-click Fonts. On the File menu, click Fonts to place a check mark.
Easiest fix: Download and reinstall the correct version of the file, making sure the font is compatible with your operating system. Locate the font files on your system and remove any duplicates. If that doesn't work, use the font in a different app to see if the font works at all.
First, restart your computer, and then test the font again. Some installations are not complete until the computer is restarted. This also makes sure that all applications are restarted after the installation.
Initially I had the same problem as you. After installing the new fonts and rebooting, those new fonts were not available in NetBeans 10.0, even though they were available in other applications such as Firefox and Notepad.
In my case, installing the *.ttf files resulted in them being installed in a user specific folder: C:\Users\johndoe\AppData\Local\Microsoft\Windows\Fonts
.
However, after I copied (only) the *.ttf files for Inconsolata from that folder to C:\Windows\Fonts and rebooted again, the Inconsolata font was visible in NetBeans 10.0. Here is a screen shot showing the use of Inconsolata font:
Notes:
C:\Windows\Fonts
.C:\Windows\Fonts
in a special way. Instead, copy the *.ttf files to C:\Windows\Fonts
using copy from the command line:
As mentioned in previous answers, NetBeans only shows up fonts that are installed globally (for all users).
If you just use „install“ from the context menu in Explorer or from the font preview window, the font is installed on a per-user basis and is not installed globally.
You don’t have to move the font files manually. There's a clean way to do this: Use Explorer to navigate to the folder where your TTF files are stored. Then right click on a ttf file and choose "Install for all users".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With