[poppler] [PATCH] Annotations appearance stream regeneration

Carlos Garcia Campos carlosgc at gnome.org
Sun Jun 30 04:34:33 PDT 2013


When a property of an annotation changes we need to invalidate the
appearance stream so that next time it's drawn, it's
regenerated. There's a method for that, but it's called only by the qt
frontends, and sometimes unnecessarily (called when the property change
doesn't affect the appearance of the annotation, for example).

Attached patches should fix this problem by moving the invalidation
handling to the core (which also fixes the annots appearance stream
regeneration in the glib frontend for free).

Could Fabio or someone else check that this works for qt?

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130630/2a609fc7/attachment-0001.pgp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-annots-do-not-set-the-default-appearance-state-when-.patch
Type: text/x-diff
Size: 990 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130630/2a609fc7/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-annots-Do-not-update-AP-and-AS-entries-if-they-are-n.patch
Type: text/x-diff
Size: 1162 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130630/2a609fc7/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-annots-Remove-unused-variable.patch
Type: text/x-diff
Size: 675 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130630/2a609fc7/attachment-0006.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-annots-Invalidate-the-appearance-stream-when-annot-p.patch
Type: text/x-diff
Size: 24338 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130630/2a609fc7/attachment-0007.patch>
-------------- next part --------------
-- 
Carlos Garcia Campos
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462


More information about the poppler mailing list