Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.9, 6.2.0 Beta1
-
None
Description
Since Qt 5.9, Qt enables Freetype's "stem darkening" of CFF fonts (https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/text/freetype/qfontengine_ft.cpp#n151). This may improve rendering on low-resolution displays, but makes fonts appear emboldened on high-resolution displays. It should thus be enabled on low-resolution displays only in my opinion.
Normal rendering without stem darkening:
Artificial emboldening by Freetype's stem darkening:
The Freetype documentation also states that stem darkening is intended for low-resolution displays, see https://www.freetype.org/freetype2/docs/reference/ft2-properties.html:
Stem darkening emboldens glyphs at smaller sizes to make them more readable on common low-DPI screens when using linear alpha blending and gamma correction, see FT_Render_Glyph.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-95336 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
377050,2 | fix the stem darkening is intended for low-resolution displays | dev | qt/qtbase | Status: NEW | 0 | 0 |