Issue 31776 - PDF export bug for asian language sinhala
Summary: PDF export bug for asian language sinhala
Status: ACCEPTED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 15:08 UTC by iwtpoo
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

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


Attachments
buggy PDF (10.92 KB, application/pdf)
2004-07-20 15:09 UTC, iwtpoo
no flags Details
SXW is OK ... (6.19 KB, application/vnd.sun.xml.writer)
2004-07-20 15:10 UTC, iwtpoo
no flags Details
TTF of Sinhala and "normal" roman font (65.99 KB, application/x-compressed)
2004-07-20 15:13 UTC, iwtpoo
no flags Details
screenshot (zoomed) SXW in v1.9.62 (163.48 KB, image/bmp)
2005-01-08 15:14 UTC, iwtpoo
no flags Details
PDF Acrobat v7 view (397.37 KB, image/bmp)
2005-01-08 15:16 UTC, iwtpoo
no flags Details
character menue with some sinhala characters (1.9 m69) (1.25 MB, image/bmp)
2005-01-14 19:28 UTC, iwtpoo
no flags Details
1.9 m69: PDF, under Acrobat 7 it now does not display sinhala properly any more, but special ASCII characters ... (11.71 KB, application/pdf)
2005-01-14 19:30 UTC, iwtpoo
no flags Details
v1.9 m69, reentered via insert, special characters (5.91 KB, application/vnd.sun.xml.writer)
2005-01-17 18:38 UTC, iwtpoo
no flags Details
but I get only '=''s there ... (487.57 KB, application/octet-stream)
2005-01-21 18:17 UTC, iwtpoo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description iwtpoo 2004-07-20 15:08:58 UTC
While asian characters for the Sinhala (Sri Lanka) language appear (usually 
properly) in the OO word processor, exporting it to PDF does not display it 
properly. It seems, that character distances are not respected properly. 

Note: Some characters in this language are "build" by 2 characters, while the 
2nd character "jumps back" onto the 1st to add something to this character. 

Another strange bug seems to be, that not all characters are displayed 
properly in the OO word processor, but if you change it to bold, than it 
does ... !?!
Comment 1 iwtpoo 2004-07-20 15:09:36 UTC
Created attachment 16619 [details]
buggy PDF
Comment 2 iwtpoo 2004-07-20 15:10:28 UTC
Created attachment 16620 [details]
SXW is OK ...
Comment 3 iwtpoo 2004-07-20 15:13:42 UTC
Created attachment 16621 [details]
TTF of Sinhala and "normal" roman font
Comment 4 michael.ruess 2004-07-20 15:18:25 UTC
reassigned to HI.
Comment 5 michael.ruess 2004-07-20 15:25:34 UTC
reassigned to HI.
Comment 6 h.ilter 2004-07-21 15:54:16 UTC
Verified with 680m48 = ok
Comment 7 h.ilter 2004-07-21 15:54:43 UTC
closed.
Comment 8 iwtpoo 2004-11-27 09:04:30 UTC
Congratulations to v1.9.62 ! 

I tested this bug and now the bold bug is fixed, but unfortunately still the PDF
export is buggy, so I needed to reopen this issue. 
Comment 9 h.ilter 2005-01-06 16:36:30 UTC
HI->iwpoo: Could you please send an screenshot how it should look like. This
would make the evaluation easier in cause our different locale and language
systems. 
Thanks in advance.
Comment 10 h.ilter 2005-01-06 16:56:25 UTC
.
Comment 11 iwtpoo 2005-01-08 15:14:02 UTC
Created attachment 21244 [details]
screenshot (zoomed) SXW in v1.9.62
Comment 12 iwtpoo 2005-01-08 15:16:05 UTC
Created attachment 21245 [details]
PDF Acrobat v7 view
Comment 13 h.ilter 2005-01-10 11:47:42 UTC
HI->HDU: I'm not able to load the bugdoc as it should be (see screenshot).
Please take a look for this.
Comment 14 hdu@apache.org 2005-01-10 16:43:52 UTC
I have a problem with the sinhala.ttf font provided. Even when the font is
installed the "Character Map" application does not display any Sinhala
characters. Does it work on your system? Can you also provide the PDF created by
a recent SRC680 version, e.g. m62?
Comment 15 iwtpoo 2005-01-14 19:28:56 UTC
Created attachment 21535 [details]
character menue with some sinhala characters (1.9 m69)
Comment 16 iwtpoo 2005-01-14 19:30:20 UTC
Created attachment 21536 [details]
1.9 m69: PDF, under Acrobat 7 it now does not display sinhala properly any more, but special ASCII characters ...
Comment 17 hdu@apache.org 2005-01-17 17:50:10 UTC
It looks like there are some problems with the encoding already in the sample
document. The *sxw provided requests these unicodes U+00B8 U+00BC U+00AB U+00BC
U+00D4, which is consistent with what the PDF output shows. Was the sample
document created using Copy+Paste? What was the encoding of the source of the
Copy+Paste operation?

Can you recreate the sample document by reentering the non-ASCII characters
using the "Insert->SpecialCharacter" dialog?

I'm also wondering why the wrongly encoded text looks good on your display?
Comment 18 iwtpoo 2005-01-17 18:38:08 UTC
Created attachment 21621 [details]
v1.9 m69, reentered via insert, special characters
Comment 19 hdu@apache.org 2005-01-20 07:49:10 UTC
Even the latest document has the same problem with the wrong codes stored in
there. I guess it happened when saving the file. So we have to reproduce it
manually. From looking at the screenshot it seems that the originally text
entered had the unicodes U+0DB9 U+0DA5 U+0DA9 U+0DA5 U+0DC9. Correct?
Comment 20 iwtpoo 2005-01-20 18:25:40 UTC
Thanks for your patience ... ! 

No, those are not the unicode's we entered. 

You need to use in Latin-1: U+00B8 (184), U+00BC (188), U+00AB (171), U+00BC
(188), U+00D4 (212). 
Comment 21 hdu@apache.org 2005-01-21 16:26:16 UTC
Ouch! So the unicodes you requested are exactly the ones you get in the PDF
output :-) There is an anomaly in Sinhala that it both suggests Mac-Roman and
unicode Sinhala encodings, which are contradicting. OOo will always unicode
prefer the unicode information in the font. Please use the Sinhala unicode
values U+0D80-U+0DFF...
Comment 22 iwtpoo 2005-01-21 18:17:44 UTC
Created attachment 21758 [details]
but I get only '=''s there ...
Comment 23 iwtpoo 2005-10-20 19:46:34 UTC
Hi ! 
Thanks for OO 2.0 ! 
I hope the community will find soon time to work on this issue. 
Currently I experienced a further problem already in v1.14 (but it is also in
the new v2.0 release): The letter for a small (lowercase) 't' having a dot below
does not show up any more ... there is only a grey rectangular field instead ... 
Comment 24 iwtpoo 2006-12-04 18:11:23 UTC
I changed the font, so I'm (currently) having much less trouble now ... 
Comment 25 Marcus 2017-05-20 11:29:54 UTC
Reset assigne to the default "issues@openoffice.apache.org".