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

Jani Pehkonen commented on PDFBOX-4093:
---------------------------------------

PDFBox already correctly processes both of the cases you have quoted above from 
the PDF spec. However, in the failed PDF the CIDFont has also a CIDToGIDMap 
entry, which must be used to transform CIDs to GIDs. This behavior is mentioned 
in the PDF spec only for CID-based TrueType fonts (CIDFontType2) but Acrobat 
and other viewers seem to utilize CIDToGIDMap also for CFF-based OpenType 
fonts. See my file reduced_with_CIDToGIDMap.pdf.

> illegible characters in rendered image 
> ---------------------------------------
>
>                 Key: PDFBOX-4093
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4093
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.8
>            Reporter: sunnyawake
>            Priority: Major
>         Attachments: PDF Clown - Complex Typesetting sample.pdf, 
> fontfile3_opentype.pdf.png, reduced_with_CIDToGIDMap.pdf
>
>
> illegible characters in rendered image 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to