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

Wolfgang Hamann commented on PDFBOX-3740:
-----------------------------------------

Well, the "2 index" construct seems to be pretty common.
We have the new fontdict on the value stack, private is open dict and on the 
stack.
Before closing Private, Charstrings is created (inside the main dict) and 
opened too. This is required to execute ND and friends, because they are 
defined in Private. The Charstrings will be closed after all strings have been 
defined, and the Private is closed. There will be two occurrences of "end", 
therefore.
The value stack still holds the maindict, private and charstrings. Depending on 
the details before (the code leading to private resp. charstrings),there will 
be one def or put for the charstrings and another def or put for private

> Standard 14 and Encoding
> ------------------------
>
>                 Key: PDFBOX-3740
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3740
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.5
>         Environment: linux
>            Reporter: Wolfgang Hamann
>         Attachments: test1.pdf, test2.pdf, test3.pdf, test4.pdf
>
>
> before I attempted to become PDF/A compatible, I was happy with just an 
> Encoding entry for the standard 14...
> I have made a few tests:
> 1 - full embedding of font
> 2 - just Encoding
> 3 - complete font descriptor
> rendering results and preflight warnings
> gs   acro   xpdf   preflight
> ok   ok      bad    many
> ok   ok      ok      2
> ok   bad    ok      1



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to