[Okular-devel] [okular] [Bug 362856] [Frameworks] Wrong render resolution, possibly caused by Plasma 5 "Scale Display"
Yi Yang via KDE Bugzilla
bugzilla_noreply at kde.org
Thu May 12 17:54:34 UTC 2016
https://bugs.kde.org/show_bug.cgi?id=362856
--- Comment #8 from Yi Yang <ahyangyi at gmail.com> ---
OK, I digged the source code a bit more.
The DPI calculation code at core/utils.cpp line 63-81 returned (93.6, 93.6),
while my actual DPI, as reported by Xorg.log, is (187, 189). Apparently
QScreen::physicalDotsPerInchX() and QScreen::physicalDotsPerInchY() are
returning something not quite physical, when Plasma 5 "scale display" gets
enabled.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list