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

Tilman Hausherr commented on PDFBOX-2624:
-----------------------------------------

Why would they do that? The call is deprecated. No developer would create a new 
class with a deprecated call. Either the declaration should be un-deprecated, 
and/or there should be a javadoc explaining that the other one is not to be 
used for PDF/A, but that is useful for normal documents and makes smaller files 
thanks to subsetting. That "PDType0Font.load" javadoc is possibly hard to 
understand as it is now for an average developer who just wants to use a TT 
font in a document and has never heard about "Type 0 fonts" and a "Type2 CID 
Font descendant".

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

Reply via email to