[ 
https://issues.apache.org/jira/browse/PDFBOX-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299924#comment-14299924
 ] 

John Hewson commented on PDFBOX-2624:
-------------------------------------

I applied this patch with sone minor tweaks. Thanks!

BTW, you never need to do this in Java, because arrays are already filled with 
zeros when they are created:

{code}
byte[] bs = new byte[length];
Arrays.fill(bs, (byte)0); // <--- don't need this
{code}


> "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
>            Assignee: John Hewson
>             Fix For: 2.1.0
>
>         Attachments: PDFBOX-2624.pdf, cidset-new.patch, 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]

Reply via email to