[
https://issues.apache.org/jira/browse/PDFBOX-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299733#comment-14299733
]
Tilman Hausherr commented on PDFBOX-2624:
-----------------------------------------
[~zuki_ebetsu] I didn't test it but looked at the code and the core CIDSet code
seems to do what's in the spec, but I'm not the font expert here. But there are
three other things I don't understand
- why use the 3 param PDStream constructor? The 2 param constructor does the
same than calling the 3 param constructor with false as 3rd param
- is LENGTH1 really needed? According to the spec, this is for a type1 font
program. For streams, the /Length will be set automatically
- not sure if addCompression() is really needed, CIDSets will be small anyway.
If you tested it and have files with CIDSet, please test with this validator
too:
http://www.pdf-tools.com/pdf/validate-pdfa-online.aspx
And yes, you're right, preflight should test the contents of the CIDSet too. I
wonder if the other validators do it.
> "CIDSet entry is missing for the Composite Subset" when creating PDF/A-1b
> file with PDType0Font.load()
> ------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-2624
> URL: https://issues.apache.org/jira/browse/PDFBOX-2624
> Project: PDFBox
> Issue Type: New Feature
> Components: PDModel, Utilities
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Fix For: 2.1.0
>
> Attachments: PDFBOX-2624.pdf, cidset.patch
>
>
> PDTrueTypeFont.loadTTF() is deprecated. So I tried to change CreatePDFA.java
> to call PDType0Font.load() instead, but the preflight validation fails:
> {quote}
> 3.1.11: Invalid Font definition, AAAXQL+LiberationSans: The CIDSet entry is
> missing for the Composite Subset
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]