Netbeans' JDK 从 6 升级到 7 后字体看起来很奇怪
将 JDK 从 1.6.0_24 升级到 1.7.0 后,Netbeans(在 Windows 7 上)编辑器中的字体看起来很有趣。除了将 JDK_HOME 更改为 jdk1.7.0 文件夹之外,我没有更改 Netbeans 上的任何配置。如何恢复旧字体?
编辑:
我使用等宽字体,两个 JDK 版本都指向 Courier New。 (jdk1.6.0_24 和 jdk1.7.0 文件夹中的 jre/lib/fontconfig.properties.src
文件显示 monospaced.plain.alphabetic=Courier 新
)
After upgrading JDK from 1.6.0_24 to 1.7.0, the font in Netbeans (on Windows 7) editor looks funny. I did not change any configuration on Netbeans except changing the JDK_HOME to jdk1.7.0 folder. How to get the old font back?
Edit:
I use monospaced and it points to Courier New for both JDK version. (The jre/lib/fontconfig.properties.src
files in both jdk1.6.0_24 and jdk1.7.0 folder showmonospaced.plain.alphabetic=Courier New
)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该能够弄清楚您的旧默认字体(也许是谷歌搜索?或者只是找到您喜欢的字体...我建议 Consolas,如果您安装了该字体),然后转到“工具”->“选项->字体和颜色和字体(在“语法”选项卡上)。
You should be able to figure out what your old default font (googling maybe? or just find a font you like... I suggest Consolas if you have that font installed) was and go to Tools -> Options -> Fonts & Colors and st the font (on the Syntax tab).