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.
when running IDE 4.1 on Mustang JDK 1.6.0-ea, i opened the online help and the fonts in the help items seems to be displaying incorrectly. the index items display correctly, but not the help items. fonts appear too large
Please could you attach screenshot?
screenshot of help window when IDE is on JDK1.6
Created attachment 22516 [details] IDE Help when running on JDK1.6
Created attachment 22517 [details] IDE Help when running on JDK1.5 [windows xp]
The similar behavior happens also on Linux with current dev build. It looks like it is caused by different default font or font size for html renderer in JEditorPane (JavaHelp content viewer).
Default font size was changed in JDK 6.0: 4992615 [JEditorPane html font sizes incorrect]. This bug is fixed in mustang. Part of the fix was to improve rendering to look like in major browsers. (if you open credits.html in IE or mozilla it would look similar to 1.6) Font sizes table was updated: 1.6 1.5 xx-small 10 8 x-small 12 10 small 14 12 medium 18 14 large 24 18 x-large 36 24 xx-large 48 36 If we would like to keep our JavaHelp the same we would have to stop aliases for font size but use absolute sizes instead. Passing to doc to decide.
I filed BugTraq 6297519 to fix the issue, and it looks like they might rollback the changes in 4992615.
This has been fixed in JDK 6, so will not need to do anything in NetBeans.