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 59556 - help windows on jdk 1.6
Summary: help windows on jdk 1.6
Status: RESOLVED WONTFIX
Alias: None
Product: usersguide
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@usersguide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-02 16:22 UTC by Kenneth Ganfield
Modified: 2005-10-11 21:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Help when running on JDK1.6 (37.45 KB, image/png)
2005-06-07 11:42 UTC, Kenneth Ganfield
Details
IDE Help when running on JDK1.5 [windows xp] (35.77 KB, image/png)
2005-06-07 11:43 UTC, Kenneth Ganfield
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2005-06-02 16:22:05 UTC
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
Comment 1 mslama 2005-06-07 10:43:16 UTC
Please could you attach screenshot?
Comment 2 Kenneth Ganfield 2005-06-07 11:41:24 UTC
screenshot of help window when IDE is on JDK1.6
Comment 3 Kenneth Ganfield 2005-06-07 11:42:42 UTC
Created attachment 22516 [details]
IDE Help when running on JDK1.6
Comment 4 Kenneth Ganfield 2005-06-07 11:43:42 UTC
Created attachment 22517 [details]
IDE Help when running on JDK1.5 [windows xp]
Comment 5 mslama 2005-06-07 11:52:03 UTC
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).
Comment 6 mslama 2005-06-28 14:15:11 UTC
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.
Comment 7 Patrick Keegan 2005-08-01 14:52:28 UTC
I filed BugTraq 6297519 to fix the issue, and it looks like they might rollback
the changes in 4992615.
Comment 8 Patrick Keegan 2005-10-11 21:40:10 UTC
This has been fixed in JDK 6, so will not need to do anything in NetBeans.