(In reply to bugzilla2 from comment #47)
> And can you explain that sentence further:
> "The mechanism for "detection" of HiDPI is "thresholded" at 168 dpi."
> I'm not sure what that means.
See the source for CountDPIScaleFactor() [1]. It previously was a single
threshold of >168dpi; and that got changed to a mix of dpi and scale
factor for bug 100164 for non-macOS builds with [2]
So current thresholding is:
nDPI > 216
250 (so 2.5x)
nDPI > 168
200 (so 2.0x)
nDPI > 120
150 (so 1.5x)
otherwise
100 (or unscaled)
IIUC macOS passes usable dpi details, so does not need the mixed dpi &
scale percentage.
Also the nDPI is not the actual hardware provided dpi, rather it is a
calculated dpi that the os/DE is reporting--e.g. on Windows the Custom
Scaling value, or with use of fractional scaling on your Linux DE.
=-ref-=
[1]
https://opengrok.libreoffice.org/xref/core/vcl/source/window/window.cxx?a=true&r=1df81daa&h=924#919
[2] https://gerrit.libreoffice.org/c/core/+/30379/
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1738774
Title:
Pixeled icons with LibreOffice 5.1.6.2 on HiDPI/4K display
Status in LibreOffice:
Confirmed
Status in libreoffice package in Ubuntu:
Confirmed
Bug description:
LibreOffice 5.1.6.2 shipped with Ubuntu 16.04.3 LTS shows pixeled
icons on a HiDPI/4K monitor like used in the Dell XPS 13 9360.
To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1738774/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp