diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-11-14 13:03:07 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-11-14 13:23:57 +0100 |
commit | 2216f9402a9ddf232e15fdd508b9123011af8bd3 (patch) | |
tree | 3b4e44be0e332bb9d957864fcde41057ed0fcb79 /source/xps/xps-outline.c | |
parent | 018253cfc8a34805c4fc1e0f955e3696db60886a (diff) | |
download | mupdf-2216f9402a9ddf232e15fdd508b9123011af8bd3.tar.xz |
Add/fix page coordinates to link targets.
Correctly transformed target coordinates for PDF.
Target coordinates for EPUB and HTML.
Diffstat (limited to 'source/xps/xps-outline.c')
-rw-r--r-- | source/xps/xps-outline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-outline.c b/source/xps/xps-outline.c index 1fe294fb..bcb16509 100644 --- a/source/xps/xps-outline.c +++ b/source/xps/xps-outline.c @@ -34,7 +34,7 @@ xps_parse_document_outline(fz_context *ctx, xps_document *doc, fz_xml *root) entry = fz_new_outline(ctx); entry->title = fz_strdup(ctx, description); entry->uri = fz_strdup(ctx, target); - entry->page = xps_lookup_link_target(ctx, doc, target); + entry->page = xps_lookup_link_target(ctx, doc, target, NULL, NULL); entry->down = NULL; entry->next = NULL; |