D10415: Fix realDpi function for Mac

Christoph Cullmann noreply at phabricator.kde.org
Sun Feb 11 12:56:01 UTC 2018


cullmann added a comment.


  > I think they are not exactly the same. physicalDotsPerInchY() would give twice difference in the resolution depending on whether one uses the native or HiDPI mode. But logicalDpiX()/logicalDpiY() would return the same value in both cases.
  
  No, I meant: if the logical variant works for us here, the physical variant should work fine, too.
  That they not give you the same results in all cases is clear, given they are logical vs. physical.

REPOSITORY
  R223 Okular

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D10415

To: sbragin, #okular, rjvbb
Cc: rjvbb, cullmann, aacid, kde-mac, ltoscano, #okular, michaelweghorn, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20180211/be08867a/attachment.html>


More information about the Okular-devel mailing list