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 158778 - Fonts are blurry after updating my JDK
Summary: Fonts are blurry after updating my JDK
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker with 2 votes (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
: 175407 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-18 21:50 UTC by zdro
Modified: 2010-10-06 13:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot showing the "BEFORE", which is as clear as I would expect (32.46 KB, image/png)
2009-02-18 21:51 UTC, zdro
Details
Screenshot with update 12. Blurry. Almost "hazy". Very noticeable with the double-quote character. (32.94 KB, image/png)
2009-02-18 21:53 UTC, zdro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zdro 2009-02-18 21:50:13 UTC
I just changed the JDK for netbeans from 1.6.0_02 up to 1.6.0_12, and all of the fonts are slightly BLURRY.  It's
subtle, but noticeable.  I thought there was something wrong with my eyes at first, but my other applications looked clear.

I've attached two screenshots showing the difference.

Any guidance would be greatly appreciated.  I can't edit like this...
Comment 1 zdro 2009-02-18 21:51:52 UTC
Created attachment 77127 [details]
Screenshot showing the "BEFORE", which is as clear as I would expect
Comment 2 zdro 2009-02-18 21:53:17 UTC
Created attachment 77128 [details]
Screenshot with update 12.  Blurry.  Almost "hazy".  Very noticeable with the double-quote character.
Comment 3 zdro 2009-02-24 17:22:59 UTC
I just tried this with the latest dev build, just to make sure that it's still an issue.  It is.

Also, the font I'm using is Bitstream Vera Sans Mono 10.
Comment 4 epitaph64 2009-07-20 10:20:21 UTC
I would like to add that I am experiencing this issue on Vista as well.
Comment 5 Ondrej Langr 2009-11-13 07:45:44 UTC
Guys, can you please help me to assign this to the right component please? A JDK problem? Maybe related to Issue #175407?
Comment 6 Antonin Nebuzelsky 2010-10-04 09:33:09 UTC
*** Bug 175407 has been marked as a duplicate of this bug. ***
Comment 7 Antonin Nebuzelsky 2010-10-04 09:51:29 UTC
There were fixes introduced in JDK 6u10 related to font rendering on Windows.

http://www.oracle.com/technetwork/java/javase/6u10-142936.html

e.g.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6591278
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6599742
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6597822

Can you try the following two flags (in separate runs of NetBeans)?

-J-Dsun.java2d.d3d=false
-J-Dsun.java2d.noddraw=true

See more info at

http://download.oracle.com/javase/1.5.0/docs/guide/2d/flags.html

(you can set these properties either on command line or in netbeans.conf file
in your NB installation)

Also can you try with the latest update of JDK 6 (without any additional options) and confirm if you see / don't see the blur?

Thanks.
Comment 8 Antonin Nebuzelsky 2010-10-06 13:35:00 UTC
Finally found JDK bugs describing the problem for two different Nvidia GeForce graphics cards:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6769144
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6593715

The first bug is specifically related to changes in 6u10. Please provide information about your graphics card in the Comments field in the bug #6769144.

Closing wontfix on our side.