• Fabio D'Urso's avatar
    Do not recreate Annots when writing to PS, Export poppler-generated Annot appearance resource dict · 503620ae
    Fabio D'Urso authored
    1) With previous code each Annot object was reconstructed from the pdf object when
    writing to PS, leading to the fact that writeDocSetup couldn't see the
    generated appearance.
    This patch makes writeDocSetup use the same Annots object returned by
    2) This patch also enables each Annot subtype to control the exported
    resources. AnnotFreeText uses this new method to export font information.
    3) Comment fixed in Page.h: Page::getAnnots does *not* give away ownership, in
    fact the returned object is destroyed by ~Page.
Annot.h 39.6 KB