-
Notifications
You must be signed in to change notification settings - Fork 1.2k
X11 HiDPI scaling algorithm is broken #169
Copy link
Copy link
Closed
Labels
C - in progressImplementation is proceeding smoothlyImplementation is proceeding smoothlyD - hardLikely harder than most tasks hereLikely harder than most tasks hereDS - x11Affects the X11 backend, or generally free Unix platformsAffects the X11 backend, or generally free Unix platformsP - highVital to haveVital to haveS - platform parityUnintended platform differencesUnintended platform differences
Milestone
Metadata
Metadata
Assignees
Labels
C - in progressImplementation is proceeding smoothlyImplementation is proceeding smoothlyD - hardLikely harder than most tasks hereLikely harder than most tasks hereDS - x11Affects the X11 backend, or generally free Unix platformsAffects the X11 backend, or generally free Unix platformsP - highVital to haveVital to haveS - platform parityUnintended platform differencesUnintended platform differences
As a well-known fact, X11 locks the DPI to 96 and the current code gets incorrect screen size, resulting in the scale factor always being 1.
The defacto standard is to use Xft.dpi to get font DPI.