Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-679

Corruption of Arabic output due to Japanese bug fix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • None
    • None

    Description

      The recent Japanese bug fix in org.apache.pdfbox.pdmodel.font.PDFont
      defines a set of encoding names that are given special CJK treatment. This set is too broad. For example, it stipulates that the 'Identity-H' encoding should be processed as JIS.

      We have Arabic PDFs where compound Arabic glyphs use the 'Identity-H' encoding. In pdfBox 1.0.0 they used to output Arabic but now they output garbage, because the Arabic unicode data is sent to the CJK converter.

      I've copied that description from the users mailing list [1]

      [1] http://markmail.org/thread/w5iof5hr3yqhthsp

      Attachments

        1. zzz.pdf
          247 kB
          Yigal Dayan

        Activity

          People

            Unassigned Unassigned
            lehmi Andreas Lehmkühler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: