You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jeremias Maerki (JIRA)" <ji...@apache.org> on 2012/05/26 18:40:23 UTC

[jira] [Created] (PDFBOX-1323) PDF with subset CIDFontType2 (TTF) paints wrong characters

Jeremias Maerki created PDFBOX-1323:
---------------------------------------

             Summary: PDF with subset CIDFontType2 (TTF) paints wrong characters
                 Key: PDFBOX-1323
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1323
             Project: PDFBox
          Issue Type: Bug
          Components: PDFReader
    Affects Versions: 1.7.0
            Reporter: Jeremias Maerki
            Assignee: Jeremias Maerki


A PDF created with Apache FOP containing a CID TrueType font shows bad characters when painted. Since PDFBox apparently cannot currently load the subset TTF, the font is substituted but that information is not propagated from the descendant font to the parent font. As a consequence, the codepoints are used instead of the Unicode text which results in the wrong glyphs being used.

Log output:

26.05.2012 18:32:11 org.apache.pdfbox.pdmodel.font.PDCIDFont determineEncoding
SCHWERWIEGEND: Error: Could not parse predefined CMAP file for 'Adobe-Identity-UCS'
26.05.2012 18:32:11 org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont
INFO: Can't read the embedded font EAAEHE+ArialMT
26.05.2012 18:32:13 org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont
INFO: Using font Arial instead


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PDFBOX-1323) PDF with subset CIDFontType2 (TTF) paints wrong characters

Posted by "Jeremias Maerki (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremias Maerki resolved PDFBOX-1323.
-------------------------------------

    Resolution: Fixed

Fixed with SVN rev 1342924.
                
> PDF with subset CIDFontType2 (TTF) paints wrong characters
> ----------------------------------------------------------
>
>                 Key: PDFBOX-1323
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1323
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDFReader
>    Affects Versions: 1.7.0
>            Reporter: Jeremias Maerki
>            Assignee: Jeremias Maerki
>         Attachments: hello-from-fop.pdf
>
>
> A PDF created with Apache FOP containing a CID TrueType font shows bad characters when painted. Since PDFBox apparently cannot currently load the subset TTF, the font is substituted but that information is not propagated from the descendant font to the parent font. As a consequence, the codepoints are used instead of the Unicode text which results in the wrong glyphs being used.
> Log output:
> 26.05.2012 18:32:11 org.apache.pdfbox.pdmodel.font.PDCIDFont determineEncoding
> SCHWERWIEGEND: Error: Could not parse predefined CMAP file for 'Adobe-Identity-UCS'
> 26.05.2012 18:32:11 org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont
> INFO: Can't read the embedded font EAAEHE+ArialMT
> 26.05.2012 18:32:13 org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont
> INFO: Using font Arial instead

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1323) PDF with subset CIDFontType2 (TTF) paints wrong characters

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-1323:
---------------------------------------

    Fix Version/s: 1.7.1
    
> PDF with subset CIDFontType2 (TTF) paints wrong characters
> ----------------------------------------------------------
>
>                 Key: PDFBOX-1323
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1323
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDFReader
>    Affects Versions: 1.7.0
>            Reporter: Jeremias Maerki
>            Assignee: Jeremias Maerki
>             Fix For: 1.7.1
>
>         Attachments: hello-from-fop.pdf
>
>
> A PDF created with Apache FOP containing a CID TrueType font shows bad characters when painted. Since PDFBox apparently cannot currently load the subset TTF, the font is substituted but that information is not propagated from the descendant font to the parent font. As a consequence, the codepoints are used instead of the Unicode text which results in the wrong glyphs being used.
> Log output:
> 26.05.2012 18:32:11 org.apache.pdfbox.pdmodel.font.PDCIDFont determineEncoding
> SCHWERWIEGEND: Error: Could not parse predefined CMAP file for 'Adobe-Identity-UCS'
> 26.05.2012 18:32:11 org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont
> INFO: Can't read the embedded font EAAEHE+ArialMT
> 26.05.2012 18:32:13 org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont
> INFO: Using font Arial instead

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (PDFBOX-1323) PDF with subset CIDFontType2 (TTF) paints wrong characters

Posted by "Jeremias Maerki (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremias Maerki updated PDFBOX-1323:
------------------------------------

    Attachment: hello-from-fop.pdf
    
> PDF with subset CIDFontType2 (TTF) paints wrong characters
> ----------------------------------------------------------
>
>                 Key: PDFBOX-1323
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1323
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDFReader
>    Affects Versions: 1.7.0
>            Reporter: Jeremias Maerki
>            Assignee: Jeremias Maerki
>         Attachments: hello-from-fop.pdf
>
>
> A PDF created with Apache FOP containing a CID TrueType font shows bad characters when painted. Since PDFBox apparently cannot currently load the subset TTF, the font is substituted but that information is not propagated from the descendant font to the parent font. As a consequence, the codepoints are used instead of the Unicode text which results in the wrong glyphs being used.
> Log output:
> 26.05.2012 18:32:11 org.apache.pdfbox.pdmodel.font.PDCIDFont determineEncoding
> SCHWERWIEGEND: Error: Could not parse predefined CMAP file for 'Adobe-Identity-UCS'
> 26.05.2012 18:32:11 org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont
> INFO: Can't read the embedded font EAAEHE+ArialMT
> 26.05.2012 18:32:13 org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font getawtFont
> INFO: Using font Arial instead

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira