[
https://issues.apache.org/jira/browse/NETBEANS-4066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126363#comment-17126363
]
Eirik Bakke commented on NETBEANS-4066:
---------------------------------------
Pull request available at https://github.com/apache/netbeans/pull/2167
> 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
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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: [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