Bug 40467 - Fix encoding in the PDF output when using custom fonts (ToUnicode table)
Summary: Fix encoding in the PDF output when using custom fonts (ToUnicode table)
Status: CLOSED DUPLICATE of bug 5335
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: trunk
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
Depends on:
Blocks: 40464
  Show dependency tree
Reported: 2006-09-11 14:00 UTC by Bertrand Delacretaz
Modified: 2012-04-01 13:53 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Delacretaz 2006-09-11 14:00:11 UTC
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 (bug #5335, comment #9) but apparently the code comes
from the FOray project, see if they agree to donate this code.
Comment 1 Bertrand Delacretaz 2006-09-15 15:41:37 UTC
PDFEncodingTestCase added, DISABLED_testPDFEncodingWithCustomFont demonstrates
the problem.
Comment 2 Bertrand Delacretaz 2007-04-09 02:19:20 UTC
Fixed in bug #5335

*** This bug has been marked as a duplicate of 5335 ***
Comment 3 Glenn Adams 2012-04-01 13:53:43 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs