diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2013-02-28 12:48:12 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-02-28 17:07:44 +0000 |
commit | 5d63cf651367bee808d653213c7af7a31ad833ce (patch) | |
tree | 5a61752d9b096946d27e9df5944b3119e9cc476d /fitz/doc_interactive.c | |
parent | 215550b73bfaad01b29cda005dd5b0d6b749b381 (diff) | |
download | mupdf-5d63cf651367bee808d653213c7af7a31ad833ce.tar.xz |
Pass bbox to pdf_set_annot_appearance rather than base on display list
Use of the bbox device to derive the area of the display list can lead
to bad results because of heuristics used to handle corners of stroked
paths.
Diffstat (limited to 'fitz/doc_interactive.c')
-rw-r--r-- | fitz/doc_interactive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/doc_interactive.c b/fitz/doc_interactive.c index c39cf05d..a14b87d6 100644 --- a/fitz/doc_interactive.c +++ b/fitz/doc_interactive.c @@ -96,9 +96,9 @@ void fz_delete_annot(fz_interactive *idoc, fz_page *page, fz_annot *annot) pdf_delete_annot((pdf_document *)idoc, (pdf_page *)page, (pdf_annot *)annot); } -void fz_set_annot_appearance(fz_interactive *idoc, fz_annot *annot, fz_display_list *disp_list) +void fz_set_annot_appearance(fz_interactive *idoc, fz_annot *annot, fz_rect *rect, fz_display_list *disp_list) { - pdf_set_annot_appearance((pdf_document *)idoc, (pdf_annot *)annot, disp_list); + pdf_set_annot_appearance((pdf_document *)idoc, (pdf_annot *)annot, rect, disp_list); } void fz_set_markup_annot_quadpoints(fz_interactive *idoc, fz_annot *annot, fz_point *qp, int n) |