Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illustration elements requirements around BBox differ in PDF 1.7 and PDF 2.0, but not discussed in ISO TS 32005 #493

Open
petervwyatt opened this issue Nov 21, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation ISO/TS 32005 ISO/TS 32005 PDF 1.7 and PDF 2.0 structure namespace inclusion WTPDF Well-Tagged PDF Specification

Comments

@petervwyatt
Copy link
Member

In ISO 32000-1:2008 (PDF 1.7), the paragraph below Table 340 states "An illustration may have logical substructure, including other illustrations. For purposes of reflow, however, it shall be moved (and perhaps resized) as a unit, without examining its internal contents. To be useful for reflow, it shall have a BBox attribute. ..." where "it" means any of the PDF 1.7 illustration elements Figure, Formula or Form. Note the "shall" requirement for the BBox attribute. I also note that some PDF/UA-1 validators check for this while others do not.

ISO 32000-2:2020 (PDF 2.0), clauses 14.8.4.8.5 (Figure) and 14.8.4.8.6 (Formula) restate this as recommendations (3rd and 4th paragraphs respectively): "It should have a BBox attribute (see 14.8.5, "Standard structure attributes")." I cannot find any equivalent statement for Form and BBox so I assume this was weakened to just a permissive "may"...

This difference in PDF 1.7 "shall" vs PDF 2.0 "should" for illustration elements and BBox is not mentioned in ISO TS 32005 AFAICT, so seeking clarification for each of the reuse and accessibility use cases - especially if consensus is that BBox is not required for PDF/UA-1 (as per some (but not all!) validators).

@petervwyatt petervwyatt added documentation Improvements or additions to documentation ISO/TS 32005 ISO/TS 32005 PDF 1.7 and PDF 2.0 structure namespace inclusion labels Nov 21, 2024
@petervwyatt petervwyatt added this to the Tagged PDF related milestone Nov 21, 2024
@petervwyatt petervwyatt added the WTPDF Well-Tagged PDF Specification label Nov 24, 2024
@car222222
Copy link

But surely there are many other, similar, small changes between the provisions of 1.7 and 2.0: do they all need to be documented?

If there are a substantial number of similar changes, then a new document is
very likely needed for them.
But the only, or primary, purpose of 32005 is not at all related to the discussion
of such changes from 1.7, is it?

Going further!
The following more general suggestion for extra wordings probably needs a new issue:

It would probably be better to make it clear, possibly in 32005, that PDF2.0 (32000-2) is completely independent of earlier versions, and of 32000-1.
Thus nothing from 32000-1 needs to be known, understood, considered or obeyed when constructing a PDF 2.0 document.
This still applies even when using “PDF1.7 types in a PDF2.0 document”, when only the provisions in 32005 (and 32000-2) need to be known and followed.

This would clarify and reenforce the fact that 32005 is no more than an extension
of 32000-2 and that it is not related at all to any contents of, or provisions in, 32000-1.

@car222222
Copy link

Another related specific clarification is needed, somewhere.

None of the category assignments in 32000-1 (for SE types) remain effective in either 32000-2, or in its extension 32005.

This may need some explanation in 32005.

@petervwyatt petervwyatt changed the title Illutsration elements requirements around BBox differ in PDF 1.7 and PDF 2.0, but not discussed in ISO TS 32005 Illustration elements requirements around BBox differ in PDF 1.7 and PDF 2.0, but not discussed in ISO TS 32005 Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation ISO/TS 32005 ISO/TS 32005 PDF 1.7 and PDF 2.0 structure namespace inclusion WTPDF Well-Tagged PDF Specification
Projects
None yet
Development

No branches or pull requests

3 participants