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

Tilman Hausherr commented on PDFBOX-3725:
-----------------------------------------

Thank you; I used almost all of your diff with minor formatting changes; I 
deleted your comment "if present, the "currentdict" is not required" because 
either it didn't have code related to it, or it applied to another code 
segment. I also included the "noaccess" changes despite not needed for your 
test file, I just take your word for it that it is important for other files :-)

Do you have more change wishes re type1 fonts? If yes lets do it in this issue.

If you want to do some quality control on the generated PDFs after changes, 
i.e. that your PDF files are improving, have a look at TestPDFToImage.java, his 
will show any differences in rendering.

> Problem with Type1 font parser
> ------------------------------
>
>                 Key: PDFBOX-3725
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3725
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.5
>         Environment: linux
>            Reporter: Wolfgang Hamann
>            Priority: Minor
>             Fix For: 2.0.6, 3.0.0
>
>         Attachments: ft70.ps, kcap.pdf, mini2.pdf, t1p.tmp
>
>
> the parser uses "readSimpleDict" to parse the Metrics.
> This allows
> /Metrics 100 dict dup begin ....... end def
> but not
> /Metrics 100 dict def Metrics begin ..... end
> This variant seems to work in most other pdf tools, however



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