projects
/
mupdf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba8a4c
)
Bug 704045: pdf_set_annot_appearance_from_display_list should not dirty annot.
author
Robin Watts
<
[email protected]
>
Tue, 20 Jul 2021 17:27:35 +0000
(18:27 +0100)
committer
Robin Watts
<
[email protected]
>
Wed, 21 Jul 2021 17:33:50 +0000
(18:33 +0100)
'Dirtying' an annotation marks it as needing to have its appearance
stream resynthesised. When we set the appearance of an annotation,
we should not dirty it, becase we have just set the appearance
stream. Therefore, remove this call.
source/pdf/pdf-annot.c
patch
|
blob
|
blame
|
history
diff --git
a/source/pdf/pdf-annot.c
b/source/pdf/pdf-annot.c
index 227fa0d642fef1c4407ad89a5259c99c4f83b83e..763be4a9ad1f7798e43d7c466914defc2e6829f5 100644
(file)
--- a/
source/pdf/pdf-annot.c
+++ b/
source/pdf/pdf-annot.c
@@
-2780,6
+2780,4
@@
pdf_set_annot_appearance_from_display_list(fz_context *ctx, pdf_annot *annot, co
}
fz_catch(ctx)
fz_rethrow(ctx);
-
- pdf_dirty_annot(ctx, annot);
}