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

Fix encoding in the PDF output when using custom fonts (ToUnicode table)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Duplicate
    • 2.5
    • None
    • renderer/pdf
    • None
    • Operating System: other
      Platform: Other
    • 40467

    Description

      FOP does not currently generate a ToUnicode table in the output PDF, this must
      be corrected to have correct encodings in PDF.

      Without this, cut and paste from PDF is not correct, and search fails with
      non-ASCII characters.

      The current situation is correctly documented at
      http://xmlgraphics.apache.org/fop/trunk/fonts.html, under "TrueType font metrics".

      A patch has been provided (FOP-230 comment #9) but apparently the code comes
      from the FOray project, see if they agree to donate this code.

      Attachments

        Issue Links

          Activity

            People

              fop-dev@xmlgraphics.apache.org fop-dev
              bdelacretaz@codeconsult.ch Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: