This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229029

Summary: Default editor font ugly on MacOS Java 7
Product: editor Reporter: ebakke
Component: SettingsAssignee: Milutin Kristofic <mkristofic>
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: NB 7.3 on Java 6 (default font, Monospaced 13)
NB Dev on Java 7 (default font, Monospaced 13)
NB Dev on Java 7 (custom font, Courier 13)

Description ebakke 2013-04-25 16:38:21 UTC
Created attachment 133816 [details]
NB 7.3 on Java 6 (default font, Monospaced 13)

Upgrading from Java 6 to Java 7 on MacOS, I noticed that NetBeans' source code editor font looked much different, and that NetBeans looked much better on Java 6.  After comparing NetBeans side by side on Java 6 and Java 7, I have discovered the reason: the default font "Monospaced 13" maps to different fonts in the two Java versions.

The nicer font used by Java 6 is actually Courier 13, and NetBeans can be made to look nice on Java 7 as well by setting the font to "Courier 13" (Preferences=>Fonts&Colors).

For this reason, I would suggest setting the NetBeans default editor font to "Courier 13" rather than just "Monospaced 13", at least on MacOS.

See the attached screenshots (make sure to view them at full resolution if you want to confirm my judgment that Java 6 had the better Monospaced default font).
Comment 1 ebakke 2013-04-25 16:38:41 UTC
Created attachment 133817 [details]
NB Dev on Java 7 (default font, Monospaced 13)
Comment 2 ebakke 2013-04-25 16:38:56 UTC
Created attachment 133818 [details]
NB Dev on Java 7 (custom font, Courier 13)
Comment 3 Martin Balin 2016-07-07 07:27:06 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss