[Okular-devel] [okular] [Bug 333456] PDF files are rendered in landscape pages and look stretched

Eugene Shalygin eugene.shalygin+bugzilla.kde at gmail.com
Wed Apr 30 09:07:24 UTC 2014


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

--- Comment #32 from Eugene Shalygin <eugene.shalygin+bugzilla.kde at gmail.com> ---
Albeert, I'm very busy these days, hope to finish my buisness this week. In the
meantime, please, answer my question below.

"isHorizontal part" checks for screen, rotated into portrait orientation. 
I currently see two possible solutions:
1. Assume some level of precision in DPI determination, check sizes in mm and
cm, if they match or size in cm gives DPI with required presicion use it,
ignore xrandr results otherwise. This level could be, say, 10%, then screen of
50 cm or larger gives this precision when we know rounded to cm size only. 
2. Additionally add UI option to override results of DPI detection, as Adobe
sofwre does. There we can show results of detection (and screen sizes to make
it easier for user to understand where does the number comes from).
Which one would you choose?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list