Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
5.6, 5.9.5, 5.10.1, 5.11.0 Beta 4
Description
QXcbScreen::logicalDpi() uses:
- QT_FONT_DPI if set
- Xft.dpi if set
- screen.size() / screen.physicalSize()
This will not produce correct results on X as X fakes the physicalSize by default.
This causes fonts to get rendered at 96dpi, even if the primary monitor has 192dpi, for instance.
As a result, it is never enough to just enable HiDPI scaling to get usable results on X11, you always have to specify the DPI manually.
Attachments
Issue Links
- is replaced by
-
QTBUG-84082 DPI configuration on X11
- Open
For Gerrit Dashboard: QTBUG-67928 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
303600,4 | X11: restrict fallback logical DPI to 96 and higher | dev | qt/qtbase | Status: MERGED | +2 | 0 |
303612,5 | X11: restrict fallback logical DPI to 96 and higher | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |