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.
Created attachment 126964 [details] Fuzzy Text After installing, Netbeans is fuzzy and strains my eyes. Couldn't find anyone else with the problem. See attached screenshot
Hi, can you tell us, what DPI do you have? You can find it in Control Panel\Appearance and Personalization\Display - There are three options - 100%, 125% and 150% I bet you have something higher than 100%.
And I can confirm your bug, I have the same problem too on Win 8 with increased DPI.
Please provide JDK version info and reopen. Also try running some plain Swing application to see if the problem can be reproduce there, thanks.
Created attachment 126996 [details] NB on Win 8 + Swing app I have JDK 7u9. The ordinary sample swing application is shown well, but also it seems that this app doesn't care about Windows DPI settings - screenshot.
(In reply to comment #4) > Created attachment 126996 [details] > NB on Win 8 + Swing app > > I have JDK 7u9. The ordinary sample swing application is shown well, but also > it seems that this app doesn't care about Windows DPI settings - screenshot. That Swing app is using Nimbus L&F which uses OpenGL for rendering (guessing from the app output). Please try running NetBeans with --laf Nimbus switch and also try running that Swing app with Windows l&f (you may need to tweak its initialization code).
Created attachment 127001 [details] NetBeans witn Nimbus L&F Here you are. NetBeans with Nimbus L&F. The text is still blurry.
Created attachment 127004 [details] Swing app with Windows L&F And from the second hand, the simple swing app running with Windows L&F...
Changing the DPI to 100% then restarting the computer fixed the problem. Thanks!
Doesn't seem to be Windows 8 specific. If I increase text size to 150% in Windows 7 control panel NetBeans look blurry as well. Also some native apps look blurry. Strangely enough plain Swing app started from NetBeans looks crisp...
*** Bug 218425 has been marked as a duplicate of this bug. ***
-J-Dsun.java2d.dpiaware=true does the trick.
We can fix this bug either by adding -J-Dsun.java2d.dpiaware=true to netbeans.conf or by modifying .exe launchers, see here for more details: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6829055 Libore, please evaluate, thanks.
Stanislav, I believe declaring the app to be DPI-aware is only half the work. The other half is getting Netbeans to use the correct font size for different DPI settings. If you stick to the existing behavior the font will look too small on high DPI environments.
Created attachment 128829 [details] NetBeans when text is enlarged by 150% It does work, NetBeans pick larger fonts as expected. (Except for non-editor tab headers which should be easily fixable)
(In reply to comment #11) > -J-Dsun.java2d.dpiaware=true does the trick. The switch is needed only when using 64-bit launcher (netbeans64.exe). When running netbeans.exe a new Java process is created where the DPI settings are correct out of the box.
The necessary switch added to netbeans.conf Fix in changeset: http://hg.netbeans.org/core-main/rev/3501e047c56b
Integrated into 'main-golden', will be available in build *201212060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/3501e047c56b User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #221303: Text Is Fuzzy and Low Resolution