GNOME Bugzilla – Bug 750612
Unimplemeneted annotation: POPPLER_ANNOT_SQUIGGLY, patch attached
Last modified: 2015-06-13 07:41:55 UTC
Created attachment 304825 [details] testcase for annotation squiggly Text markup annotations of subtype Squiggly are not supported yet. Given that now the code for text markup annotations is in master and subtypes of it are merely just encoded with an enum, supporting the remaing subtype Squiggly is easy. The following three trivial patches add support for it. For the safe of completeness, i am first attaching a testcase.
Created attachment 304826 [details] [review] [PATCH 1/3] libdocument: adding annotation squiggly. This adds the type to libdocument, as well as a method to create such annotations.
Created attachment 304827 [details] [review] [PATCH 2/3] pdf: adding annotation squiggly. This adds support to the pdf backend for loading and saving text markup annotations of subtype Squiggly.
Created attachment 304828 [details] [review] [PATCH 3/3] shell: adding annotation squiggly. Underline icon is used for squiggly annotations in the sidebar. Squiggly is now a supported markup type, selectable in the combo list in the annotation property dialog.
All pushed, thank you very much!