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