更改Ui的字体家族

更改Ui的字体家族

本文介绍了NetBeans:更改Ui的字体家族的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很抱歉,如果我的问题是重复的话:我找到了解决方案几个小时,并尝试了一些解决方案,但结果为零或缺乏解释.

Sorry for duplicate if my question is it: I found the solution for some hours and tried some solutions, but zero effect or lack of explanations.

那么,如何更改IDE GUI字体系列?不是 code 字体系列,不是GUI字体 size ,请更改GUI的字体FAMILY(菜单,标签等),请!!!

So, how I can change the IDE GUI font family? NOT code font family, NOT GUI font size, changing the the font FAMILY of GUI (menu, labels, etc.), please!!!

这只是如果您使用Darcula外观填充主题,但是如果我使用Nimbus灯光主题该怎么办?

It's simply if you use Darcula Look and fill theme, but what if I use the Nimbus light theme?

搜索请求:netbeans change ui font

Google搜索结果:

Google search results:

  1. Set NetBeans UI Font - plugin detail

我需要在NetBeans选项中输入-J-Dramos.nb.ui.font="MyFavoriteFont,14"的地方吗?

Where I need to input -J-Dramos.nb.ui.font="MyFavoriteFont,14" in NetBeans options??!!

  1. FaqFontSize - NetBeans Wiki

不是字体大小,请选择字体系列!

Not font size, font family please!!

  1. 如何更改NetBeans 7.0 UI字体? -堆栈溢出

包含指向FaqFontSize - NetBeans Wiki

  1. Windows 8上的NetBeans IDE缩放

无法缩放,请更改UI字体系列!

Not scaling, UI font family change please!!

  1. 我的知识:如何更改Netbean UI字体

这与更改字体大小有关.请不要使用大小,字体系列!

It's about changing font size. Not size, font family, please!!

  1. Netbeans接口的方法太小:表面-Reddit

这与更改字体大小有关.请不要输入大小,字体系列!

It's about changing font size. Not size, font family, please!!

这里是日语文章,但是您可以理解需要什么在 fontconfig.properties.src 中进行编辑.不幸的是,它不起作用.

Here is Japanese article, but you can understand what is required to edit in fontconfig.properties.src. Unfortunately, it does not works.

推荐答案

不幸的是,NetBeans当前没有提供为IDE本身指定字体系列的功能.请参阅这些要求相同功能的NetBeans错误报告:

Unfortunately, the ability to specify the font family for the IDE itself is not currently provided in NetBeans. See these NetBeans bug reports requesting the same feature:

错误125083-I18N-IDE的Font/Fontsize可以配置得最远

要指定所引用的"ramos"插件的详细信息,请执行以下操作:

To specify the details for the "ramos" plugin you referenced:

  • 找到并编辑文本文件 netbeans.conf ,该文件位于NetBeans安装目录下的 etc 文件夹中.

  • Locate and edit the text file netbeans.conf which will be under your NetBeans installation directory in the etc folder.

找到包含文本 netbeans_default_options 的行,并附加插件的数据,保存文件,然后重新启动NetBeans.例如,此行(在最后)为插件指定 Serif 字体应用于NetBeans IDE:

Locate the line containing the text netbeans_default_options and append the data for the plugin, save the file and then restart NetBeans. For example, this line (at the very end) specifies to the plugin that the Serif font should be used for the NetBeans IDE:

netbeans_default_options =-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar = true -J-Dapple.awt.graphics.UseQuartz = true -J-Dsun.java2d.noddraw = true -J-Dsun.java2d.dpiaware = true -J-Dsun.zip.disableMemoryMapping = true -J-Dramos.nb.ui.font = Serif,14 "

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true -J-Dramos.nb.ui.font=Serif,14"

以下是NetBeans IDE的屏幕截图,使用的是(确实很丑!)衬线字体:

Here is a screen shot of the NetBeans IDE using that (really ugly!) Serif font:

如果上述方法对您不起作用,请从NetBean的查看菜单中选择 IDE日志以查看启动问题.插件的任何问题都可能记录在此处.

If the approach described above does not work for you then select IDE Log from NetBean's View menu to review startup issues. Any problems with the plugin might be logged there.

这篇关于NetBeans:更改Ui的字体家族的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 11:15