[ 
https://issues.apache.org/jira/browse/NETBEANS-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476814#comment-17476814
 ] 

Thomas Pasch edited comment on NETBEANS-2955 at 1/16/22, 2:53 PM:
------------------------------------------------------------------

Same problem here. Like suggested on the internet I tried a lot permutations of:

At {{{}netbeans-12.6/etc/netbeans.conf{}}}:
 * {{-J-Dsun.java2d.dpiaware=true}} and {{-J-Dsun.java2d.dpiaware=false}}
 * {{-J-Dsun.java2d.uiScale=0.5}}
 * {{-J-Dsun.java2d.uiScale.enabled=true}} and 

-J-Dsun.java2d.uiScale.enabled=false
 *  {{--fontsize 8}} 

Environment:
 * {{GDK_SCALE=0.5}}
 * {{{}GDK_DPI_SCALE=0.5{}}}{{{{}}{}}}

But with no convincing result.

{{$ java -version}}
{{openjdk version "11.0.13" 2021-10-19}}
{{OpenJDK Runtime Environment 18.9 (build 11.0.13+8)}}
{{OpenJDK 64-Bit Server VM 18.9 (build 11.0.13+8, mixed mode, sharing)}}


was (Author: aanno):
Same problem here. Like suggested on the internet I tried a lot permutations of:

At {{{}netbeans-12.6/etc/netbeans.conf{}}}:
 * {{-J-Dsun.java2d.dpiaware=true}} and {{-J-Dsun.java2d.dpiaware=false}}
 * {{-J-Dsun.java2d.uiScale=0.5}}
 * {{-J-Dsun.java2d.uiScale.enabled=true}} and \{{ 
-J-Dsun.java2d.uiScale.enabled=false}}
 *  {{--fontsize 8}} 

Environment:
 * {{GDK_SCALE=0.5}}
 * {{{}GDK_DPI_SCALE=0.5{}}}{{{{}}{}}}

But with no convincing result.

{{$ java -version}}
{{openjdk version "11.0.13" 2021-10-19}}
{{OpenJDK Runtime Environment 18.9 (build 11.0.13+8)}}
{{OpenJDK 64-Bit Server VM 18.9 (build 11.0.13+8, mixed mode, sharing)}}

> Menu font is ways too big on a HiDPI monitor (Linux)
> ----------------------------------------------------
>
>                 Key: NETBEANS-2955
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2955
>             Project: NetBeans
>          Issue Type: Bug
>         Environment: 3840x2160 monitor, Ubuntu 18.04, Unity-desktop, "Scale 
> for menu and title bars" is set to 1.88
>            Reporter: John Walker
>            Priority: Major
>              Labels: HiDPI
>         Attachments: Screenshot from 2019-08-05 21-33-18.png, Screenshot from 
> 2019-08-05 21-34-47.png, Screenshot from 2019-08-05 21-36-49.png
>
>
> Hi There,
> My setup is: 3840x2160 monitor, Ubuntu 18.04, Unity-desktop, "Scale for menu 
> and title bars" is set to 1.88. 
> The netbeans font size of menus, Project Explorer etc is enormously huge.
> This unexpected growth of size happens when I move the scaling ratio from 
> 1.38 to 1.5. 
> I have already tried everything I was able to find on the topic, only 
> switching from GTK+ worked. Please advice on how I can fix it.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to