pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chitgoks <chitg...@gmail.com>
Subject annotations not displayed in other viewers
Date Tue, 15 Aug 2017 03:43:05 GMT

i think this is a pretty common problem

anontations created by pdfbox get shown in acrobat reader

but in some other reader? like chrome, osx viewer, skype preview and
pdf.js? they do not get displayed

i came across an issue thread in pdf.js which states:

So PDF.js fallback to use base annotation implementation to render them,
which means it is rendering those annotations use its AP field (appearance
stream). Most of the PDF reader/editor generates this filed by default.
That's why resave the file using some reader will fixes the file. However
because this field is optional, some PDF tool (pdfbox) may generate the
annotation without this field, then the fallback rendering no longer works.

any idea what this field could be? so i can manually add it?

please advise

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message