简体   繁体   English

如何在属性中将字体安装到 NetBeans?

[英]How can I install fonts to NetBeans in the properties?

I would like to know how I can install new sources to the fonts properties in netbeans我想知道如何为 netbeans 中的字体属性安装新源

Here I leave an image: https://imgur.com/VT4reSE这里我留个图: https : //imgur.com/VT4reSE

Edit netbeans.conf file which is located in C:\\Program Files\\NetBeans8.2\\etc\\netbeans.conf编辑位于C:\\Program Files\\NetBeans8.2\\etc\\netbeans.conf

Search for netbeans_default_options in netbeans.conf file搜索netbeans_default_optionsnetbeans.conf文件

Add -J-Dawt.useSystemAAFontSettings=on to the end of the netbeans_default_options-J-Dawt.useSystemAAFontSettings=on添加到netbeans_default_options的末尾

在此处输入图片说明

Now you can use system fonts in Netbeans.现在您可以在 Netbeans 中使用系统字体。 So change your font in Tools > Options > Fonts & Colors所以在Tools > Options > Fonts & Colors改变你的字体

在此处输入图片说明

  1. Try:尝试:
     Tools > Options > Fonts & Colours > Syntax
            Category: default
            Font: ([...]) > Select Font
  1. Or:或者:

Adding them to the .fonts/ directory将它们添加到.fonts/ directory

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM