[okular] [Bug 434613] System DPI ignored for PDF files

Oliver Sander bugzilla_noreply at kde.org
Fri Mar 19 14:03:58 GMT 2021


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

Oliver Sander <oliver.sander at tu-dresden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.sander at tu-dresden.de

--- Comment #2 from Oliver Sander <oliver.sander at tu-dresden.de> ---
What we do have, however, is

            if (qAbs(res.width() - res.height()) / qMin(res.height(),
res.width()) < 0.05) {
                return res;
            } else {
                qCDebug(OkularCoreDebug) << "QScreen calculation returned a non
square dpi." << res << ". Falling back";
            }


in method Utils::realDpi, file utils.cpp.  In other words, unequal dpi values
for x and y are actively ignored by Okular.  I am not sure whether that is a
bug or a feature.  Probably both.

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


More information about the Okular-devel mailing list