Skip to content

Check for NaN when resolving link destinations

Since version 1.21.0 of mupdf, link destinations that don't set a top and left coordinate will return NaN instead of 0 when they get resolved using fz_resolve_link(). This will mess up further calculations for the actual link location and all these links will then point to the last page of the document.

This will fix #33 (closed).

Merge request reports