Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2747

Acrobat Reader error with some Japanese Fonts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.3
    • font/opentype
    • None
    • Operating Systems: Windows
      JDK: 1.8

    Description

      Some Japanese Fonts cannot be embedded into PDF document.
      How to repeat
      1. Get FOP from trunk@1810008
      2. Get Font from the attachment
      3. Use my config file and generate the PDF, there is no error reported.
      4. Open the PDF file in Acro-Reader, it will report the "cannot extract the embedded font" error.

      CFFParser@dnp.fo

      java.io.IOException: invalid DICT data b0 byte: 23
              at org.apache.fontbox.cff.CFFParser.readEntry(CFFParser.java:282)
              at org.apache.fontbox.cff.CFFParser.readDictData(CFFParser.java:240)
              at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:405)
              at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:145)
      

      CFFParser@fot.fo

      java.io.IOException: invalid DICT data b0 byte: 22
              at org.apache.fontbox.cff.CFFParser.readEntry(CFFParser.java:282)
              at org.apache.fontbox.cff.CFFParser.readDictData(CFFParser.java:240)
              at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:405)
              at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:145)
      

      Attachments

        1. dnp_full.pdf
          2.90 MB
          Kazuyuki Murakami
        2. dnp.pdf
          2.48 MB
          Kazuyuki Murakami
        3. fot.pdf
          2.14 MB
          Kazuyuki Murakami
        4. fot_full.pdf
          3.78 MB
          Kazuyuki Murakami
        5. fot.fo
          25 kB
          Kazuyuki Murakami
        6. fop.xconf
          0.6 kB
          Kazuyuki Murakami
        7. dnp.fo
          25 kB
          Kazuyuki Murakami

        Activity

          People

            ssteiner Simon Steiner
            murakami@brainsellers.com Kazuyuki Murakami
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: