[poppler] render PDF without annotations?
Albert Astals Cid
aacid at kde.org
Mon Apr 18 17:18:37 UTC 2022
El dilluns, 18 d’abril de 2022, a les 13:07:12 (CEST), Stéphane Charette va escriure:
> > No, the cpp frontend does not allow skipping annotations when rendering a page.
> >
> > If you want to add the feature it should be relatively easy. Patches welcome.
>
> That's only true for people already familiar with the codebase.
>
> Any hints? Is it Gfx::drawAnnot() that I want to skip? Am I in the
> right ballpark?
You need to pass an annotDisplayDecideCbkData that returns false to PDFDoc::displayPageSlice
Cheers,
Albert
>
> Stephane Charette
>
More information about the poppler
mailing list