veraPDF / verapdf-js-viewer

PDF preview based on pdf.js
Mozilla Public License 2.0
3 stars 3 forks source link

False Positives are shown #78

Open BennyAlex opened 2 weeks ago

BennyAlex commented 2 weeks ago

I have a pdf, it is valid according to both Adobe and PAC 2024, but I see multiple errors with vera pdf. Those Errors do not even have bounding boxes. image

image

bdoubrov commented 2 weeks ago

@BennyAlex thanks for reporting this. Note that this is a validation issue not directly related to the verapdf-js-viewer. These issues are best discussed in https://github.com/veraPDF/veraPDF-library. I'll create a mirror issue there as well.

In this particular case the reported error is about the content of the tiling pattern that is neither tagged to marked as an Artifact. The same issue has already been discussed in in the scope of PDF/UA-2, and it was agreed that the content of tiling patterns and glyphs in Type3 fonts is indeed not subject to the PDF/UA requirement to tag all graphical elements or mark them as artifacts. We'll fix this for PDF/UA-1 case as well.

And the content of the tiling pattern is repeated multiple times on the page. This is why it doesn't have a well-defined bounding box.

BennyAlex commented 2 weeks ago

Thank you very much. Should repeating items not have multiple bounding boxes then?

I mean we have a list and we know its appearing multiple times so why does each item not have its own box?

Its also not correct that they are all on page 1, each one is on another page