Bug 48519 - Tagged PDFs may use PDF 1.5 Standard Structure Types
Summary: Tagged PDFs may use PDF 1.5 Standard Structure Types
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: all
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-11 08:26 UTC by Vincent Hennebert
Modified: 2012-04-07 01:52 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Hennebert 2010-01-11 08:26:27 UTC
The THead, TFoot and TBody standard structure types have only been added in the fourth edition of PDF Reference (PDF 1.5). Yet PDFs produced by FOP are still declared as PDF 1.4. Some mechanism is needed to increase the PDF version to 1.5 when such tags are being used.
Comment 1 Pascal Sancho 2010-02-17 16:04:04 UTC
PDF version is related to Reader version.
In certain cases, FOP users may want to generate a PDF compatible with an old Reader version.

IMHO, there are 2 options:
 - inform user what version of PDF is generated, depending on actual functionalities are used in that PDF;
 - block the target PDF version by setting it directly in the XSL-FO (using for example either a FOX extension or an XML PI).
Comment 2 Vincent Hennebert 2010-02-23 16:42:34 UTC
(In reply to comment #1)
> PDF version is related to Reader version.
> In certain cases, FOP users may want to generate a PDF compatible with an old
> Reader version.

That said, PDF 1.4 is getting really old now (Nov 2001 according to Adobe's website). Maybe just upgrading to PDF 1.5 as a minimal version, which is the simplest, would be ok for users.


> IMHO, there are 2 options:
>  - inform user what version of PDF is generated, depending on actual
> functionalities are used in that PDF;

That's the other possibility, but that would require some work.


>  - block the target PDF version by setting it directly in the XSL-FO (using for
> example either a FOX extension or an XML PI).

And throw an exception if a feature requiring PDF 1.5 is being used? Hmmm. Why not. Maybe a bit simpler to implement than the previous solution. Although, "yet another extension", etc.
Comment 3 Chris Bowditch 2010-02-23 17:17:21 UTC
(In reply to comment #2)
> That said, PDF 1.4 is getting really old now (Nov 2001 according to Adobe's
> website). Maybe just upgrading to PDF 1.5 as a minimal version, which is the
> simplest, would be ok for users.

That would not be acceptable. The biggest problem is the millions of old reader versions installed within large organisations. Also, don't forget that PDF/A-1 requires PDF 1.4.

> > IMHO, there are 2 options:
> >  - inform user what version of PDF is generated, depending on actual
> > functionalities are used in that PDF;
> That's the other possibility, but that would require some work.
> >  - block the target PDF version by setting it directly in the XSL-FO (using for
> > example either a FOX extension or an XML PI).
> And throw an exception if a feature requiring PDF 1.5 is being used? Hmmm. Why
> not. Maybe a bit simpler to implement than the previous solution. Although,
> "yet another extension", etc.

I don't see a problem with adding another extension or fop.xconf setting. As long as its documented correctly. Making PDF 1.5 optional is the preferred option.

Thanks,

Chris
Comment 4 Glenn Adams 2012-04-07 01:44:23 UTC
resetting P2 open bugs to P3 pending further review