From 2216f9402a9ddf232e15fdd508b9123011af8bd3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 14 Nov 2016 13:03:07 +0100 Subject: Add/fix page coordinates to link targets. Correctly transformed target coordinates for PDF. Target coordinates for EPUB and HTML. --- source/xps/xps-imp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/xps/xps-imp.h') diff --git a/source/xps/xps-imp.h b/source/xps/xps-imp.h index 4f21fb95..2ba78a50 100644 --- a/source/xps/xps-imp.h +++ b/source/xps/xps-imp.h @@ -105,7 +105,7 @@ void xps_read_page_list(fz_context *ctx, xps_document *doc); void xps_print_page_list(fz_context *ctx, xps_document *doc); void xps_drop_page_list(fz_context *ctx, xps_document *doc); -int xps_lookup_link_target(fz_context *ctx, xps_document *doc, char *target_uri); +int xps_lookup_link_target(fz_context *ctx, xps_document *doc, char *target_uri, float *xp, float *yp); /* * Images, fonts, and colorspaces. -- cgit v1.2.3