[jira] [Commented] (FOP-2826) PDF/A validation error: CIDset in subset font is incomplete

2018-11-28 Thread Chris Bowditch (JIRA)


[ 
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

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


[jira] [Commented] (FOP-2826) PDF/A validation error: CIDset in subset font is incomplete

2018-11-28 Thread Radek Bidlo (JIRA)


[ 
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.

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


fop 2.3 current test failures in Debian

2018-11-28 Thread Mathieu Malaterre
Dear fop dev

I've uploaded fop 2.3 to Debian archive. I had to turn test suite to
off because of test failure, current list is available at (*):

For convenience:

[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.fop.URIResolutionTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
1.448 s - in org.apache.fop.URIResolutionTestCase
[INFO] Running org.apache.fop.BasicPDFTranscoderTestCase
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
1.06 s - in org.apache.fop.BasicPDFTranscoderTestCase
[INFO] Running org.apache.fop.HyphenationTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.04 s - in org.apache.fop.HyphenationTestCase
[INFO] Running org.apache.fop.BasicDriverTestCase
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.279 s - in org.apache.fop.BasicDriverTestCase
[INFO] Running org.apache.fop.BasicPSTranscoderTestCase
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.103 s - in org.apache.fop.BasicPSTranscoderTestCase
[INFO] Running org.apache.fop.KnuthAlgorithmTestCase
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.004 s - in org.apache.fop.KnuthAlgorithmTestCase
[INFO] Running org.apache.fop.DigestFilterTestCase
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.01 s - in org.apache.fop.DigestFilterTestCase
[INFO] Running org.apache.fop.text.linebreak.LineBreakStatusTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.001 s - in org.apache.fop.text.linebreak.LineBreakStatusTestCase
[INFO] Running org.apache.fop.text.linebreak.LineBreakUtilsTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.001 s - in org.apache.fop.text.linebreak.LineBreakUtilsTestCase
[INFO] Running org.apache.fop.datatypes.URISpecificationTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0 s - in org.apache.fop.datatypes.URISpecificationTestCase
[INFO] Running org.apache.fop.image.loader.batik.ImagePreloaderTestCase
[WARNING] Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time
elapsed: 0.037 s - in
org.apache.fop.image.loader.batik.ImagePreloaderTestCase
[INFO] Running org.apache.fop.image.loader.batik.ImageLoaderTestCase
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time
elapsed: 0 s - in
org.apache.fop.image.loader.batik.ImageLoaderTestCase
[INFO] Running org.apache.fop.intermediate.IFMimickingTestCase
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.075 s - in org.apache.fop.intermediate.IFMimickingTestCase
[INFO] Running org.apache.fop.intermediate.IFTestCase
[ERROR] Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time
elapsed: 1.179 s <<< FAILURE! - in
org.apache.fop.intermediate.IFTestCase
[ERROR] runTest[4](org.apache.fop.intermediate.IFTestCase)  Time
elapsed: 0.06 s  <<< FAILURE!
java.lang.AssertionError: Expected XPath expression to evaluate to
'true', but got '' (XPath: /descendant::if:text[1]/@hyphenated)
at org.apache.fop.intermediate.IFTestCase.runTest(IFTestCase.java:103)

[INFO] Running org.apache.fop.intermediate.IFParserTestCase
[INFO] Tests run: 650, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 17.098 s - in org.apache.fop.intermediate.IFParserTestCase
[INFO] Running org.apache.fop.intermediate.AreaTreeParserTestCase
[INFO] Tests run: 650, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 24.38 s - in
org.apache.fop.intermediate.AreaTreeParserTestCase
[INFO] Running org.apache.fop.cli.CommandLineOptionsTestCase
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0 s - in org.apache.fop.cli.CommandLineOptionsTestCase
[INFO] Running org.apache.fop.area.BlockViewportTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.001 s - in org.apache.fop.area.BlockViewportTestCase
[INFO] Running org.apache.fop.area.RegionViewportTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.001 s - in org.apache.fop.area.RegionViewportTestCase
[INFO] Running org.apache.fop.area.TraitTestCase
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0 s - in org.apache.fop.area.TraitTestCase
[INFO] Running org.apache.fop.area.inline.InlineViewportTestCase
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0 s - in org.apache.fop.area.inline.InlineViewportTestCase
[INFO] Running org.apache.fop.layoutmgr.BreakElementTestCase
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0 s - in org.apache.fop.layoutmgr.BreakElementTestCase
[INFO] Running org.apache.fop.layoutmgr.RetrieveTableMarkerLayoutManagerTestCase
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.389 s - in org.apache.fop.layoutmgr.RetrieveTableMarkerLayoutManagerTestCase
[INFO] Running org.apache.fop.la