英文:
Why do some fonts on Netbeans in Mac OS doesn't show up as an option?
问题
我在 macOS 上使用 Netbeans 时,在 Swing 设计器中选择字体时遇到了问题。
我使用的是 Apache Netbeans 11.2,macOS 版本是 10.15.3 的 Catalina。
正如您在下面的图片中所看到的,Roboto Light 并未显示在选项中。对于字体,我非常挑剔,希望能够使用 Roboto Light。在我的 Windows 10 上的 Netbeans 中,它可以正常工作,但由于某种原因,在 macOS 上的 Netbeans 上却无法正常工作。
很抱歉我们必须在学校项目中使用 Netbeans。我的组员更喜欢 Netbeans 的拖放式 UI Swing 设计器,而不是硬编码的 UI。希望有人之前遇到过这个问题并解决了它。
英文:
I have an issue with Netbeans on macOS when it comes to selecting a font using the Swing designer.
I'm using Apache Netbeans 11.2 on macOS Catalina version 10.15.3.
As you can see in the image below, Roboto Light doesn't show up in the options. I'm really choosy when it comes to fonts and I'd like Roboto Light to work. It does work on my Netbeans in Windows 10, but for some reason, it doesn't work on Netbeans on macOS.
I'm sorry we have to use Netbeans for a school project. My groupmates prefer Drag and Drop UI Swing designer of Netbeans over hardcoded UI. I hope that someone encountered this issue before and solved it.
专注分享java语言的经验与见解,让所有开发者获益!
评论