Apache OpenOffice (AOO) Bugzilla – Issue 55058
Chinese chars not recognizable upon PDF export
Last modified: 2017-05-20 11:29:40 UTC
Pls refer to two "sample" files. In OOo 1.9.130, sometimes, PDF export of Chinese is OK. Sometimes, If you open the PDF, Adobe Reader says, "Could not find a font in the Resources dictionary - using Helvetica instead." The original file here is a Word document. The PDF contains such unrecognizable chars. This issue occurs in Windows XP SP2.
Created attachment 29882 [details] Word document with Chinese chars inside
Created attachment 29883 [details] PDF upon export of sample.doc
Reassigned to HI.
When opening sample.pdf, I receive the error described. Then Chinese characters are are displayed properly. When I opened the sample.doc in OOo 1.9.130, exported to PDF, and opened in Acrobat Reader 7, the PDF appeared correct. (I do not understand Chinese, though.)
Excuse me. I meant to write the Chinese characters are /not/ displayed properly in sample.pdf.
HI->PL: Could not reproduce but plase take a look.
I get about the same result as aziem. Your pdf file does not display chinese correctly, as you described. However, I tried to export your .doc document to a new pdf file (2.0rc2), and that new pdf file works. Is it the case that exporting this file as pdf ALWAYS fails as you described? Or does it OCCATIONALLY (happened more than once) fail?
Hello, pplwong, I would say that even in OOo 2.0 (the final version), this issue happens occasionally. If I click PDF export again, it works! Sometimes, I get the proper PDF files right away just by pressing the same button once only.
Hello, I'm sending you two files. One's ODP and the other PPT. They contain no Chinese characters but have similar PDF export issues _every time_ you do this PDF export in OOo 2.0. If you export these files, you'll have PDFs that tell you something about font problems, when you open them. This issue is _not_ limited to Chinese characters. English characters may be affected. So, the summary needs to be changed.
Created attachment 31494 [details] ODP and PDF export with font issues
Created attachment 31495 [details] PPT and PDF export with font issues
HI->HDU: Still not able to reproduce this. Maybe you know the reason.
Hello, I've tried PDF export of the PPT file in Windows 98 2nd Ed. I got the "font" message. Please have a look.
Created attachment 32636 [details] PDF made from PPT in OOo 2.0.0 in Win 98
I guess, just a guess, I use Traditional Chinese version of Windows, maybe that causes these font issues.
I do not get the "font message" in acroread (v7), but ghostview is chocking on the PDF too. HDU->PL: Can you help to identify which embedded font or which unicode/glyphid in the PDF is causing the problem?
Forgot to reassign.
target
sorry, but the information of which unicode would have been used is not in the resulting eroneous PDF document. There is no Font entry in the resources dictionary for the third font subset that would have been used; this can only happen when the font got used during rendering but the SalGraphics::CreateFontSubSet had failed for that font. Without a method of reproduction this cannot be fixed IMHO. For what it's worth. the other fonts used in that doc were subsets of TimesNewRoman. Sorry for the delay. At least i have an PDF uncompressor now.
please check with a newer version (e.g. SRC680m170)
Retargeting...
Created attachment 38716 [details] ODT File containing Chinese characters
Created attachment 38717 [details] PDF File containing Chinese characters (broken)
The attached document ma yong gan.odt was created using OpenOffice.org 2.0.3. The attached pdf was created using File -> Export as PDF in Writer. The attached files ma yong gan.odt and ma yong gan.pdf should contain the same Chinese characters. However, the pdf file only contains a single Chinese character that is completely unrelated to the characters in the odt. Is this problem related to this issue or should a new issue be raised?
set target 3.0
retargeting, this need to be checked with a recent version
Created attachment 74207
Reset assigne to the default "issues@openoffice.apache.org".