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 144034 - IDE font rendering in 6.5 broken
Summary: IDE font rendering in 6.5 broken
Status: RESOLVED DUPLICATE of bug 137845
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-15 11:12 UTC by deftex
Modified: 2008-08-19 18:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Fonts OK in 6.1 IDE (12.70 KB, application/pdf)
2008-08-15 11:14 UTC, deftex
Details
6.5 IDE same font but VERY difficult to read (6.29 KB, application/pdf)
2008-08-15 11:17 UTC, deftex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deftex 2008-08-15 11:12:54 UTC
IDE fonts are rendered poorly (effectively unusable) in 6.5, yet were fine in 6.1 so I guess something has changed? Same in JDK5 & JDK6.
Comment 1 deftex 2008-08-15 11:14:59 UTC
Created attachment 67515 [details]
Fonts OK in 6.1 IDE
Comment 2 deftex 2008-08-15 11:17:53 UTC
Created attachment 67516 [details]
6.5 IDE same font but VERY difficult to read
Comment 3 Jan Becicka 2008-08-15 12:45:04 UTC
Can you verify, that both IDEs run on very same JDK?
Comment 4 deftex 2008-08-15 13:29:48 UTC
Yes, the font rendering issue occurs whether on top of JDK5 (6.5->JDK5 font "broken", 6.1->JDK5 font OK) or JDK6  (6.5->JDK6 font "broken", 6.1->JDK6 
font OK).
Comment 5 Petr Dvorak 2008-08-18 10:32:33 UTC
I will give it a shot here: It seems that anti-aliasing is off in the second case - try to run IDE with a command line
switch "-J-Dswing.aatext=true" and maybe "-Dawt.useSystemAAFontSettings=true" too.
Comment 6 Vitezslav Stejskal 2008-08-18 12:36:39 UTC
This sounds like a duplicate of issue #137845. Did you import settings from 6.1? If so, could you please try running the
IDE with a fresh userdir (ie. --userdir /tmp/whatever) and check if it makes any difference? Thanks

*** This issue has been marked as a duplicate of 137845 ***
Comment 7 Petr Dvorak 2008-08-18 17:44:39 UTC
I don't know if this is a duplicate - that one has antialiasing (ugly one) working, this one doesn't - problem looks a
little different. But I will probably rather trust you in this... ;)
Comment 8 deftex 2008-08-19 18:15:37 UTC
Hi vstejskal 

As you suggested, I have changes the userdir and the ide fonts are rendered perfectly.

I guess it must be some setting brought in from 6.1 that screws up the 6.5 ide font rendering?

I now have a usable IDE - many thanks.

Nevertheless, the importing of previous settings should not screw the IDE up like this, so I guess there is some work to do to stop that happening?


Comment 9 deftex 2008-08-19 18:15:38 UTC
Hi vstejskal 

As you suggested, I have changes the userdir and the ide fonts are rendered perfectly.

I guess it must be some setting brought in from 6.1 that screws up the 6.5 ide font rendering?

I now have a usable IDE - many thanks.

Nevertheless, the importing of previous settings should not screw the IDE up like this, so I guess there is some work to do to stop that happening?