pdfbox-users mailing list archives

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

came across a post that confirmed this a bug for pdfbox

seems creating annotations, no appearance stream is included. that's why
viewers dont show any annotations

is this still a bug? or has this been fixed? if so, please advise how ?

thank you very much

On Tue, Aug 15, 2017 at 11:43 AM, chitgoks <chitgoks@gmail.com> wrote:

> hi
> 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