[Okular-devel] [Bug 268757] [Patch] Constant DPI in PDF backend results in incorrect size of pages on screen

Eugene Shalygin eugene.shalygin at gmail.com
Thu Mar 17 17:53:21 CET 2011


https://bugs.kde.org/show_bug.cgi?id=268757





--- Comment #4 from Eugene Shalygin <eugene shalygin gmail com>  2011-03-17 17:53:21 ---
Yes, I know about bug #204386. Yes, I have dual-head system with different (in
millimiters and pixels) sizes of monitors.
the problem with the previous attempt was that DPI for Xinerama-enabled screens
was incorrect (that of Utils::dpi()) and it caused shrinked pages in Xinerama
screens.
Utils::realDPI() functions returns correct DPI for Xinerama screens with two
identical heads and thus it works perfect in this case. In case of heads with
different sizes, I can not imaginate what to do to make image of the page on
screen always equal to paper page size (consider, for example, Okular window
that is half showed on one, half on another screen). If physical sizes of
pixels of screens is different, I do not know what to do.

So, I do not see any regression from current approach with constant DPI in
Xinerama screens with proposed patch.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list