Here it is -J-Dsun.java2d.dpiaware=false -J-Dsun.java2d.uiScale=2
With these you don't need to set the -fontSize, icons and fonts work well. These work well for a theme that is not native (for me that is GTK) On Fri, Sep 7, 2018 at 7:21 PM Peter Steele <[email protected]> wrote: > The theme you use will make a difference too, if it's a native laf theme > then it will use the os scaling properties. If not it won't and you will > need to set the ui scaling property and also set hdip property. There is a > manifest solution too but you don't need this. If you need these -J-D > command lines I can send them to you. > > > > On Fri, 7 Sep 2018 18:48 Tim Boudreau, <[email protected]> wrote: > >> Add --fontsize 24 (or whatever size works) to your netbeans.conf and turn >> off zoom. >> >> Of course fonts will look fuzzy when zoomed - you are making the logical >> pixels take up more than one physical pixel. >> >> There are a couple of system properties that may be useful to tell AWT as >> well. >> >> I have been running NetBeans for years on a high dpi screen. Zoom is not >> the solution. >> >> -Tim >> >> On Fri, Sep 7, 2018 at 10:21 AM Eirik Bakke <[email protected]> wrote: >> >> > I have added https://issues.apache.org/jira/browse/NETBEANS-1227 to >> > indicate that the NetBeans launcher should eventually declare itself as >> > DPI-aware, like JDKs javaw.exe already does. >> > >> > -- Eirik >> > >> > -----Original Message----- >> > From: Eirik Bakke <[email protected]> >> > Sent: Friday, September 7, 2018 9:48 AM >> > To: [email protected] >> > Subject: RE: Blurry font with NetBeans 9.0 >> > >> > Hi, Christian. >> > >> > I have NetBeans 9.0 running very well on a Windows 10 HiDPI screen at >> > either 150% or 200% scaling. It's essential to use the latest Java--I >> use >> > 10.0.2. You also need to right click the "bin\netbeans64.exe" file, or >> > whichever shortcut you're using to open NetBeans, go to the >> "Compatibility" >> > tab, click "Change high DPI settings", "Override high DPI scaling >> > behavior", and select scaling performed by "Application". (This should >> > probably be built into the launcher at some point.) >> > >> > -- Eirik >> > >> > -----Original Message----- >> > From: Christian Lenz <[email protected]> >> > Sent: Friday, September 7, 2018 4:45 AM >> > To: [email protected] >> > Subject: Blurry font with NetBeans 9.0 >> > >> > Hey All, >> > >> > I wanted to test out NetBeans 9.0 and I must say, that I have a blurry >> > font. Please see the attached screenshot of comparing NetBeans 8.2 and >> > NetBeans 9.0: >> > https://netbeans.slack.com/files/U2BLJ28NA/FCJC0D1C5/image.png >> > >> > It doesn’t matter of the LaF so I have it w/ or w/o the dacrula theme. >> > >> > My Enviroment is: >> > Windows 10 (64 bit, latest release) with a zoom factor of 200% because I >> > have a HiDPI Surface book and I can’t set it to 100% because it is far >> to >> > small so this is not an Option. >> > >> > Here are the Infos from the About Dialog: >> > >> > Product Version: Apache NetBeans IDE 9.0 (Build >> > incubator-netbeans-release-334-on-20180708) >> > Updates: Updates available to version NetBeans 8.2 Patch 2 (weird but >> has >> > Nothing todo with my problem) >> > Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10 >> > Runtime: Java(TM) SE Runtime Environment 10.0.1+10 >> > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) >> User >> > directory: C:\Users\Chrl\AppData\Roaming\NetBeans\9.0 >> > Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\9.0 >> > >> > Here is the thread in slack, where the guys tried to helped me, but >> > Nothing worked out: >> > https://netbeans.slack.com/archives/C2BJDQ77A/p1535635507000100 >> > >> > Do you Need smth more to help here? Did I miss smth About the blurry >> font? >> > >> > >> > Cheers >> > >> > Chris >> > >> > >> > >> B�KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB� >> > � [��X��ܚX�K K[XZ[ >> > � ]�][��X��ܚX�P �] �X[�˚[��X�] ܋�\ X� K�ܙ�B��܈ Y ] [ۘ[ ��[X[� � >> K[XZ[ >> > � ]�Z [ �] �X[�˚[��X�] ܋�\ X� K�ܙ�B�B��܈ �\� \� [��ܛX] [ۈ X��] H >> �] >> > �X[�� XZ[ [�� \� � �\�] >> > �B� ����Z�K�\ X� K�ܙ���ۙ� Y[��K� \� ^KӑU �PS���XZ[ [��� \� �B�B�B >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [email protected] >> > For additional commands, e-mail: [email protected] >> > >> > For further information about the NetBeans mailing lists, visit: >> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> > >> > >> > -- >> http://timboudreau.com >> >
