Netbeans' JDK 从 6 升级到 7 后字体看起来很奇怪

发布于 2024-12-09 04:37:56 字数 319 浏览 0 评论 0原文

将 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 show
monospaced.plain.alphabetic=Courier New)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烂人 2024-12-16 04:37:56

您应该能够弄清楚您的旧默认字体(也许是谷歌搜索?或者只是找到您喜欢的字体...我建议 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文