[ 
https://issues.apache.org/jira/browse/NETBEANS-4066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eirik Bakke updated NETBEANS-4066:
----------------------------------
    Description: 
Having fixed NETBEANS-2543, I see there is a similar issue in the NetBeans tab 
component, e.g. in the editor tabs. On Windows 10, with HiDPI scaling enabled 
on either 150% or 200% (for example), a tab title 
"AaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiA" will overshoot its 
allocated space. See the attached screenshot.

Presumably this is another case where text measurement is done on a 
FontRenderContext that hasn't properly had the appropriate monitor's HiDPI 
scaling applied.

  was:
Having fixed NETBEANS-2543, I see there is a similar issue in the NetBeans tab 
component, e.g. in the editor tabs. On Windows 10, with HiDPI scaling enabled 
on either 150% or 200% (for example), a tab title 
"AaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiA" will overshoot its 
allocated space.

Presumably this is another case where text measurement is done on a 
FontRenderContext that hasn't properly had the appropriate monitor's HiDPI 
scaling applied.


> Inaccurate text measurement in editor tabs on HiDPI displays on Windows
> -----------------------------------------------------------------------
>
>                 Key: NETBEANS-4066
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4066
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: platform - Other
>    Affects Versions: 11.3
>         Environment: Windows 10 with HiDPI scaling enabled (e.g. 150% or 
> 200%--not necessarily fractional scalings only)
>            Reporter: Eirik Bakke
>            Priority: Minor
>              Labels: HiDPI
>         Attachments: Inaccurate tab text mesaurement.png
>
>
> Having fixed NETBEANS-2543, I see there is a similar issue in the NetBeans 
> tab component, e.g. in the editor tabs. On Windows 10, with HiDPI scaling 
> enabled on either 150% or 200% (for example), a tab title 
> "AaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiA" will overshoot its 
> allocated space. See the attached screenshot.
> Presumably this is another case where text measurement is done on a 
> FontRenderContext that hasn't properly had the appropriate monitor's HiDPI 
> scaling applied.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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