Issue 55058

Summary: Chinese chars not recognizable upon PDF export
Product: gsl Reporter: tsehungtin <deletehungtintse4954>
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: ahz001, alex, hdu, issues, khirano, masaya.k, philipp.lohmann
Version: 680m130   
Target Milestone: OOo 3.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Word document with Chinese chars inside
none
PDF upon export of sample.doc
none
ODP and PDF export with font issues
none
PPT and PDF export with font issues
none
PDF made from PPT in OOo 2.0.0 in Win 98
none
ODT File containing Chinese characters
none
PDF File containing Chinese characters (broken) none

Description tsehungtin 2005-09-25 10:16:11 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.
Comment 1 tsehungtin 2005-09-25 10:17:11 UTC
Created attachment 29882 [details]
Word document with Chinese chars inside
Comment 2 tsehungtin 2005-09-25 10:18:22 UTC
Created attachment 29883 [details]
PDF upon export of sample.doc
Comment 3 michael.ruess 2005-09-26 16:57:51 UTC
Reassigned to HI.
Comment 4 aziem 2005-09-26 17:38:53 UTC
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.)
Comment 5 aziem 2005-09-26 17:39:58 UTC
Excuse me.  I meant to write the Chinese characters are /not/ displayed properly
in sample.pdf.
Comment 6 h.ilter 2005-09-28 12:57:09 UTC
HI->PL: Could not reproduce but plase take a look.
Comment 7 pplwong 2005-10-14 20:39:46 UTC
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?
Comment 8 tsehungtin 2005-10-29 10:26:43 UTC
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. 
Comment 9 tsehungtin 2005-11-15 04:14:56 UTC
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. 
Comment 10 tsehungtin 2005-11-15 04:19:09 UTC
Created attachment 31494 [details]
ODP and PDF export with font issues
Comment 11 tsehungtin 2005-11-15 04:20:23 UTC
Created attachment 31495 [details]
PPT and PDF export with font issues
Comment 12 h.ilter 2005-11-15 09:59:51 UTC
HI->HDU: Still not able to reproduce this. Maybe you know the reason.
Comment 13 tsehungtin 2005-12-22 04:57:43 UTC
Hello, I've tried PDF export of the PPT file in Windows 98 2nd Ed. I got the
"font" message. Please have a look. 
Comment 14 tsehungtin 2005-12-22 04:59:43 UTC
Created attachment 32636 [details]
PDF made from PPT in OOo 2.0.0 in Win 98
Comment 15 tsehungtin 2005-12-22 05:36:32 UTC
I guess, just a guess, I use Traditional Chinese version of Windows, maybe that
causes these font issues.
Comment 16 hdu@apache.org 2006-01-02 14:50:26 UTC
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?
Comment 17 hdu@apache.org 2006-01-19 10:00:20 UTC
Forgot to reassign.
Comment 18 philipp.lohmann 2006-01-25 17:31:30 UTC
target
Comment 19 philipp.lohmann 2006-02-16 12:06:01 UTC
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.
Comment 20 hdu@apache.org 2006-05-16 16:34:58 UTC
please check with a newer version (e.g. SRC680m170)
Comment 21 hdu@apache.org 2006-07-12 14:48:49 UTC
Retargeting...
Comment 22 alexbirkett 2006-08-23 12:46:16 UTC
Created attachment 38716 [details]
ODT File containing Chinese characters
Comment 23 alexbirkett 2006-08-23 12:47:46 UTC
Created attachment 38717 [details]
PDF File containing Chinese characters (broken)
Comment 24 alexbirkett 2006-08-23 12:54:22 UTC
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?
Comment 25 alexbirkett 2006-08-23 12:56:30 UTC
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?
Comment 26 Martin Hollmichel 2008-01-28 02:33:42 UTC
set target 3.0
Comment 27 hdu@apache.org 2008-06-05 14:52:39 UTC
retargeting, this need to be checked with a recent version
Comment 28 quesiglumbbar 2010-11-11 04:04:13 UTC
Created attachment 74207
Comment 29 Marcus 2017-05-20 11:29:40 UTC
Reset assigne to the default "issues@openoffice.apache.org".