Issue 10313 - OO fails to create proper ToUnicode tables when exporting to PDF
Summary: OO fails to create proper ToUnicode tables when exporting to PDF
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: BiDi (show other issues)
Version: current
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@l10n
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-27 08:50 UTC by sforbes
Modified: 2013-08-07 15:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
the file created directly from OO pdf export (121.40 KB, application/pdf)
2002-12-27 08:51 UTC, sforbes
no flags Details
The file created via print to adobe acrobat 5 me distiller (101.94 KB, application/pdf)
2002-12-27 08:52 UTC, sforbes
no flags Details
When exported directly from OO- search fails for Hebrew text (60.52 KB, image/gif)
2003-03-10 10:11 UTC, sforbes
no flags Details
When exported using Acrobat ME- Search works correctly with Hebrew (63.20 KB, image/gif)
2003-03-10 10:12 UTC, sforbes
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sforbes 2002-12-27 08:50:39 UTC
Proper ToUnicode tables are essential for creation of workable PDF documents
(documents that support searching, bookmarking, copy/paste,conversion to other
formats and touchUp editing).
When exporting PDF documents via the built in PDF tool, ToUnicode tables are not
created properly, thus breaking document functionality.

An easy way to test if the tables are proper: Open the PDF document in Adobe
Acrobat 5 ME. Select a Hebrew word, and right click. Choose "create bookmark".
If the bookmark title is displayed properly in Hebrew- everything is OK. If you
get junk or blanks- it is broken.

To repro this bug:
* create a Hebrew document in OO.
* Use the "PDF Export" button to create a pdf (attached here as bugzilla_oo.pdf)
* from the same OO document, print to Acrobat 5 ME distiller (attached here as
bugzilla_acrobat_me.pdf)
* Open both in Acrobat 5 ME, and run the simple bookmark test above.
* Note the diffrences- the distillted document is currect, the OO native export
is not.

For more information about creating ToUnicode tables,  see:
Adobe Systems Incorporated, "PDF Reference, Third Edition, Version 1.4", p. 368
http://partners.adobe.com/asn/developer/acrosdk/docs/filefmtspecs/PDFReference.zip
Adobe Systems Incorporated, "ToUnicode Mapping File Tutorial", Technical Note #5411
http://partners.adobe.com/asn/developer/pdfs/tn/5411.ToUnicode.pdf
Comment 1 sforbes 2002-12-27 08:51:58 UTC
Created attachment 4162 [details]
the file created directly from OO pdf export
Comment 2 sforbes 2002-12-27 08:52:52 UTC
Created attachment 4163 [details]
The file created via print to adobe acrobat 5 me distiller
Comment 3 Dieter.Loeschky 2003-01-17 11:45:39 UTC
DL->SBA: Would you please takeover?
Comment 4 thorsten.ziehm 2003-01-31 11:58:47 UTC
=> new
Comment 5 stefan.baltzer 2003-02-14 19:37:14 UTC
SBA->HI: Please take over. An enhancment or a defect?
Comment 6 h.ilter 2003-03-06 12:36:15 UTC
This feature is not defect. It will not supported in current.
Comment 7 philipp.lohmann 2003-03-06 12:46:09 UTC
Contrary to what hi said, ToUnicode tables are part of our PDF export.
I'll have a look whether they are broken. But they cannot be that bad
since searching works flawlessly.
Comment 8 philipp.lohmann 2003-03-06 13:09:11 UTC
Pasting from an Ooo document also works as it should. Therefore the
ToUnicode tables cannot be wrong, since the fonts contained are
subsets and the PDF viewer therefore cannot get the information what
glyph means  which character from anywhere else. Wherever your problem
comes from i doubt it is the ToUnicode tables.
Comment 9 sforbes 2003-03-10 09:54:05 UTC
> But they cannot be that bad
> since searching works flawlessly

Did it work properly for you with Hebrew on Acrobat ME (Not Acrobat
US, as it does not support proper searching in Hebrew)? Here both
search and copy/paste of Hebrew is completely broken.
Comment 10 sforbes 2003-03-10 10:11:16 UTC
Created attachment 5032 [details]
When exported directly from OO- search fails for Hebrew text
Comment 11 sforbes 2003-03-10 10:12:15 UTC
Created attachment 5033 [details]
When exported using Acrobat ME- Search works correctly with Hebrew
Comment 12 philipp.lohmann 2003-03-17 15:23:48 UTC
fixed in vcl06
Comment 13 philipp.lohmann 2003-03-17 15:27:20 UTC
sorry, wrong issue
Comment 14 philipp.lohmann 2003-03-19 16:55:51 UTC
i tried some more: i entered "lalelu" (which undoubtedly is nonsense
in hebrew :-) ) while hebrew IME was active, exported the result to
PDF and tried to search in the resulting document on Windows XP as
well as MacOSX in Acrobat Reader 5.05; both were able to find "la"
inside the document. I tried with my current version as well as
OpenOffice 644m4. What version did you use ?
Comment 15 philipp.lohmann 2003-04-02 12:43:07 UTC
pl->hi: please try to reproduce. We'll have to either reproduce or
close it.
Comment 16 philipp.lohmann 2003-04-02 13:02:13 UTC
reassign
Comment 17 h.ilter 2003-04-17 14:21:23 UTC
We had similar issues which has been fixed.
Comment 18 h.ilter 2003-04-17 14:21:43 UTC
.