Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.0 Beta3
-
None
-
-
de3d5dd73 (dev), 90963387e (6.7), 1d244eb91 (6.6), 875f8a795 (tqtc/lts-6.5)
Description
By default, with DirectWrite as the fontengine, when not using high-DPI scaling, fonts will render with CLEARTYPE_GDI_CLASSIC, which can make them look squashed (e.g. no space between m and e):
fontenegine | DirectWrite | GDI |
---|---|---|
top: default hinting bottom: vertical hinting |
(code in hinting-1.cpp)
I tested this in a larger application and this does make quite the difference (also having to manually set the hinting doesn't seem like a good solution, especially since DirectWrite is the default). If you enable high-DPI scaling, the default hinting will look like with GDI again.
Removing the check for high-DPI scaling in hintingPreferenceToRenderingMode (qwindowsfontenginedirectwrite.cpp) would resolve this issue.
Attachments
Issue Links
- relates to
-
QTBUG-122167 REG: Kerning errors with DirectWrite font backend
- Closed