D17194: Fix DjVu links pointing to pages with different dimensions

Alexander Kandaurov noreply at phabricator.kde.org
Tue Nov 27 17:59:06 GMT 2018


akandaurov created this revision.
Herald added a project: Okular.
Herald added a subscriber: okular-devel.
akandaurov requested review of this revision.

REVISION SUMMARY
  Currently the coordinates of a link rectangle in a DjVu document are computed with respect to the size of the page the link is pointing to. Because of that, links only appear in correct places if the dimensions of a target page are the same as of the page containing the link.
  
  The attached file demonstrating the issue contains two pages, one in portrait orientation and one in landscape, the first pointing to the second. The active zone for the link is different from where it is in other viewers.
  F6443987: misplaced-link.djvu <https://phabricator.kde.org/F6443987>

REPOSITORY
  R223 Okular

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

AFFECTED FILES
  generators/djvu/generator_djvu.cpp

To: akandaurov
Cc: okular-devel, ngraham, darcyshen, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20181127/6cd26d0f/attachment.html>


More information about the Okular-devel mailing list