Discussion:
[jira] [Created] (FOP-2826) PDF/A validation error: CIDset in subset font is incomplete
(too old to reply)
Radek Bidlo (JIRA)
2018-11-09 11:53:13 UTC
Permalink
Radek Bidlo created FOP-2826:
--------------------------------

Summary: PDF/A validation error: CIDset in subset font is incomplete
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Attachments: samples.zip

When the PDF/A documents generated by FOP *with the font embedding-mode="subset"* are validated for PDF/A conformance by validators based on Adobe Preflight, these validators report the following error:
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.

This issue occurs also in PDF/A documents generated from previous versions of FOP.

Please see the attached [^samples.zip], where you can find:
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)

This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
simon steiner (JIRA)
2018-11-09 12:04:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681355#comment-16681355 ]

simon steiner commented on FOP-2826:
------------------------------------

Workaround is to use embedding-mode="full"
Post by Radek Bidlo (JIRA)
PDF/A validation error: CIDset in subset font is incomplete
-----------------------------------------------------------
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Priority: Major
Attachments: samples.zip
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.
This issue occurs also in PDF/A documents generated from previous versions of FOP.
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)
This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radek Bidlo (JIRA)
2018-11-09 13:39:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681436#comment-16681436 ]

Radek Bidlo commented on FOP-2826:
----------------------------------

Yes, thank you, Simon, I know this workaround, but due to the full embedding of the fonts the resulting documents are considerably larger.
Post by Radek Bidlo (JIRA)
PDF/A validation error: CIDset in subset font is incomplete
-----------------------------------------------------------
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Priority: Major
Attachments: samples.zip
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.
This issue occurs also in PDF/A documents generated from previous versions of FOP.
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)
This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
simon steiner (JIRA)
2018-11-09 13:58:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681460#comment-16681460 ]

simon steiner commented on FOP-2826:
------------------------------------

You can try using type1 or otf font?
Post by Radek Bidlo (JIRA)
PDF/A validation error: CIDset in subset font is incomplete
-----------------------------------------------------------
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Priority: Major
Attachments: samples.zip
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.
This issue occurs also in PDF/A documents generated from previous versions of FOP.
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)
This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radek Bidlo (JIRA)
2018-11-13 13:33:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685202#comment-16685202 ]

Radek Bidlo commented on FOP-2826:
----------------------------------

Okay, I will and will write the results right here.
Post by Radek Bidlo (JIRA)
PDF/A validation error: CIDset in subset font is incomplete
-----------------------------------------------------------
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Priority: Major
Attachments: samples.zip
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.
This issue occurs also in PDF/A documents generated from previous versions of FOP.
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)
This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Chris Bowditch (JIRA)
2018-11-20 14:45:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693322#comment-16693322 ]

Chris Bowditch commented on FOP-2826:
-------------------------------------

I don't see this as a bug. You ask FOP to create a subset font, but PDF/A requires the complete font. That's why you get the error validating in PDF/A. The solution is to embed the entire font instead of subset. The workaround mentioned by Simon is the solution not workaround. How else can this be solved?
Post by Radek Bidlo (JIRA)
PDF/A validation error: CIDset in subset font is incomplete
-----------------------------------------------------------
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Priority: Major
Attachments: samples.zip
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.
This issue occurs also in PDF/A documents generated from previous versions of FOP.
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)
This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Chris Bowditch (JIRA)
2018-11-20 14:45:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Bowditch closed FOP-2826.
-------------------------------
Resolution: Not A Bug
Post by Radek Bidlo (JIRA)
PDF/A validation error: CIDset in subset font is incomplete
-----------------------------------------------------------
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Priority: Major
Attachments: samples.zip
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.
This issue occurs also in PDF/A documents generated from previous versions of FOP.
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)
This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radek Bidlo (JIRA)
2018-11-28 13:29:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16701873#comment-16701873 ]

Radek Bidlo commented on FOP-2826:
----------------------------------

Thank you, Chris, but I'm still a little confused, why the subset option would be available in FOP, when an invalid PDF/A document is actually generated with it. As I understand it, the subset option gives the opportunity to generate documents of smaller size comparing to the full embedding mode, but still fully in agreement with the PDF/A requirements. Thus my original motivation to create this issue was a suspicion of missing characters in the embedded subset.
Post by Radek Bidlo (JIRA)
PDF/A validation error: CIDset in subset font is incomplete
-----------------------------------------------------------
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Priority: Major
Attachments: samples.zip
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.
This issue occurs also in PDF/A documents generated from previous versions of FOP.
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)
This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Chris Bowditch (JIRA)
2018-11-28 14:07:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16701926#comment-16701926 ]

Chris Bowditch commented on FOP-2826:
-------------------------------------

FOP provides subset option because PDF/A is not on by default. PDF/A is just another option. It seems that PDF/A and subset options are incompatible with each other
Post by Radek Bidlo (JIRA)
PDF/A validation error: CIDset in subset font is incomplete
-----------------------------------------------------------
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Priority: Major
Attachments: samples.zip
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.
This issue occurs also in PDF/A documents generated from previous versions of FOP.
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)
This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Radek Bidlo (JIRA)
2018-12-06 11:57:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16711351#comment-16711351 ]

Radek Bidlo commented on FOP-2826:
----------------------------------

Tanks to you all
Post by Radek Bidlo (JIRA)
PDF/A validation error: CIDset in subset font is incomplete
-----------------------------------------------------------
Key: FOP-2826
URL: https://issues.apache.org/jira/browse/FOP-2826
Project: FOP
Issue Type: Bug
Affects Versions: 2.3
Reporter: Radek Bidlo
Priority: Major
Attachments: samples.zip
*CIDset in subset font is incomplete*
More precisely, the attached samples are the PDF/A-1b documents, but the same issue occurs also for other PDF/A variants.
This issue occurs also in PDF/A documents generated from previous versions of FOP.
- TTF fonts used for the samples
- FOP configuration files with both the full and subset embedding mode
- sample FO input file for FOP
- resulting PDF/A documents subset.pdf (of which validation reports the error) and full.pdf (which is without errors)
This issue complicates the document processing, where the PDF/A conformance validation is performed and the no error result is expected to allow further processing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Loading...