Issue 44080 - Thai shaping doesn't work when export to flash
Summary: Thai shaping doesn't work when export to flash
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: 680m77
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: christian.guenther
QA Contact: issues@l10n
URL:
Keywords: oooqa
Depends on:
Blocks: 41707
  Show dependency tree
 
Reported: 2005-03-04 14:00 UTC by samphan
Modified: 2013-08-07 15:01 UTC (History)
6 users (show)

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


Attachments
Presentation document with Thai text (10.45 KB, application/vnd.oasis.opendocument.presentation)
2005-03-04 14:01 UTC, samphan
no flags Details
The presentation document export to PDF (10.03 KB, application/pdf)
2005-03-04 14:02 UTC, samphan
no flags Details
The presentation document export to SWF (1.85 KB, application/x-shockwave-flash)
2005-03-04 14:04 UTC, samphan
no flags Details
The Draw document with Thai text (7.74 KB, application/vnd.oasis.opendocument.graphics)
2005-03-04 14:05 UTC, samphan
no flags Details
The Draw document export to SWF (927 bytes, application/x-shockwave-flash)
2005-03-04 14:06 UTC, samphan
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description samphan 2005-03-04 14:00:51 UTC
When creating a presentation/drawing with Thai text using Impress or Draw and
export it to Flash, the text in flash document doesn't look right. On Windows,
the Thai clusters don't get shaped correctly according to normal Thai shaping
algorithm. The diacritics are also shifted to the left by about half of the
width of a Thai consonant. On Linux, they become garbages.

Test case:
1) Load the attached Impress document. It contains a line of Thai in the page
title and looks correct in Impress.
2) Load the PDF that was exported from Impress. It also looks correct.
3) Load the SWF flash file that was exported from Impress on Windows. It'll look
different from how it look in Impress and PDF. The clusters don't get shaped
(e.g. ญ +  ู must be ญู). And all diacritics are shifted to the left.

4) Load the attached Draw document. It contains a short line of Thai. It looks
correct in Draw.
5) Load the SWF flash file that was exported from Draw on Linux. After the
character with a diacritic, there's a garbage. The problem exporting to flash on
Linux seems to be different than on Windows. If there's any diacritic, it'll
become a garbage. I also test this with Impress.

I guess that this problem should happen to other CTL languages which need
shaping before display.
Comment 1 samphan 2005-03-04 14:01:47 UTC
Created attachment 23340 [details]
Presentation document with Thai text
Comment 2 samphan 2005-03-04 14:02:29 UTC
Created attachment 23341 [details]
The presentation document export to PDF
Comment 3 samphan 2005-03-04 14:04:58 UTC
Created attachment 23342 [details]
The presentation document export to SWF
Comment 4 samphan 2005-03-04 14:05:58 UTC
Created attachment 23343 [details]
The Draw document with Thai text
Comment 5 samphan 2005-03-04 14:06:32 UTC
Created attachment 23344 [details]
The Draw document export to SWF
Comment 6 arthit 2005-03-04 19:13:07 UTC
confirmed.
Comment 7 Martin Hollmichel 2005-05-22 07:28:12 UTC
set target to OOo Later.
Comment 8 falko.tesch 2005-10-20 16:05:31 UTC
FT: Pls verify and assign to responsible engineer
Comment 9 wolframgarten 2005-10-21 12:35:14 UTC
Reproducible. Reassigned.
Comment 10 clippka 2005-10-21 15:03:30 UTC
According to FT this is no 2.0.1 issue, changed target
Comment 11 clippka 2007-06-07 10:29:23 UTC
cl->cgu: this issue was fixed while doing the complex text fixes for flash, so
in a current version it does not occur anymore, please verify
Comment 12 pavel 2007-08-06 11:20:25 UTC
As this issue is fixed, can anyone please verify it and close this?

Thank you.
Comment 13 christian.guenther 2007-08-10 15:59:05 UTC
On windows it works correct.
Can anybody confirm it on Linux?
Comment 14 christian.guenther 2007-08-21 17:42:20 UTC
In the meantime I tested it also on linux.
Also on Linux it works correct.
Comment 15 christian.guenther 2007-08-21 17:44:02 UTC
CGU: Integrated in src680m225.