[Okular-devel] [Bug 191614] Okular use incorrect DPI value

Eugene Shalygin eugene.shalygin at gmail.com
Sat Dec 18 12:34:00 CET 2010


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





--- Comment #2 from Eugene Shalygin <eugene shalygin gmail com>  2010-12-18 12:33:59 ---
Created an attachment (id=55042)
 --> (http://bugs.kde.org/attachment.cgi?id=55042)
Use screen DPI when rendering PDF pages and calculating page size 

Since fix for this bug was deleted from sources, I propose to return it back
with additions. From my point of view, the problem with bug 204386 and the fix
of this bug that was existing before is that Okular::Page has only one size
property -- size on screen. While actually it should have two: size on screen
(in pixels) and real size (inches, millimiters..). If screen point is not equal
to typographic one, measuring sizes in such points causes problems.

To workaround this, I propose to add "Pixels" to enum PageSizeMetric and use it
for PDF pages together with returning previous fix.

-- 
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