You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Eirik Bakke (Jira)" <ji...@apache.org> on 2020/07/10 15:15:00 UTC
[jira] [Resolved] (NETBEANS-4066) Inaccurate text measurement in
editor tabs on HiDPI displays on Windows
[ https://issues.apache.org/jira/browse/NETBEANS-4066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eirik Bakke resolved NETBEANS-4066.
-----------------------------------
Fix Version/s: Next
Resolution: Fixed
PR was merged; marking resolved.
> 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
> Fix For: Next
>
> Attachments: Inaccurate tab text mesaurement.png
>
> Time Spent: 40m
> 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists