Newly installed fonts do not appear in Netbeans

前端 未结 1 1904
被撕碎了的回忆
被撕碎了的回忆 2020-12-03 16:30

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 ins

相关标签:
1条回答
  • 2020-12-03 17:16

    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:

    • I don't know why this action was necessary. I'm pretty sure I have installed other fonts for NetBeans in the past that didn't require manually copying them to C:\Windows\Fonts.
    • This issue isn't specific to NetBeans 10.0 for those particular fonts; it also exists in NetBeans 8.2.
    • Don't use Windows File Explorer for copying the fonts since it treats C:\Windows\Fonts in a special way. Instead, copy the *.ttf files to C:\Windows\Fonts using copy from the command line:
    • I'm not sure whether this is a NetBeans issue or a Windows 10 issue, but since other software picked up the new fonts from the user directory perhaps this is a NetBeans bug?
    0 讨论(0)
提交回复
热议问题