diff options
author | Eskil Abrahamsen Blomfeldt <[email protected]> | 2025-06-05 08:34:55 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <[email protected]> | 2025-06-05 13:58:49 +0000 |
commit | 9a950b1ecb901cc885995d128768cc04cb55cfb1 (patch) | |
tree | a8246df6f49d786e8c7be6c0d03261d230619d27 /src/openglwidgets/qopenglwidget.cpp | |
parent | c604f2031a2147f1257f7f19edfb5c2487a379d7 (diff) |
As a last resort for users who have existing Qt 5 applications and
see differences in line metrics when porting to Qt 6, we introduce
an environment variable which lets them restore the old behavior
as a last resort.
This is primarily meant as a porting tool, since we do have other
tools, such as QFont::PreferTypoLineMetrics to work around issues
with fonts that by mistake do not explicitly set the
use-typo-metrics flag even if these are valid.
Pick-to: 6.8 6.9 6.10
Fixes: QTBUG-134602
Change-Id: Id1d7829888d55247d2f07ee0a49b91ff34f26889
Reviewed-by: Eirik Aavitsland <[email protected]>
Diffstat (limited to 'src/openglwidgets/qopenglwidget.cpp')
0 files changed, 0 insertions, 0 deletions