Issue 30943 - THAI character display problem.
Summary: THAI character display problem.
Status: CLOSED DUPLICATE of issue 28576
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: hdu@apache.org
QA Contact: issues@gsl
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2004-07-01 03:24 UTC by hin
Modified: 2004-11-03 10:13 UTC (History)
2 users (show)

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


Attachments
example for THAI language display problem (378.22 KB, application/x-compressed)
2004-07-01 03:26 UTC, hin
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hin 2004-07-01 03:24:09 UTC
Dear All,

  I'm using OpenOffice.org 1.1 (and later) in Linux (Fedora) system and I use
THAI language. When I typing THAI character, the cursor move normally but
display isn't shown correctly. But on Windows don't found this problem. 
  Now I attatch the example for this issue consist of screenshot, sxw file and
some thai fonts.

Thank you in advance.
Comment 1 hin 2004-07-01 03:26:44 UTC
Created attachment 16208 [details]
example for THAI language display problem
Comment 2 eric.savary 2004-07-01 21:10:41 UTC
ES->US: Please, have a look.
Comment 3 ulf.stroehler 2004-07-02 18:24:53 UTC
@submitter: 
First of all thanks for the provided document and fonts.
With OO.o 1.1.2 I don't see any problems as long as one doesn't change the font
setting. Although I don't have Tahoma installed on my RH9 box.
But with the provided fonts I have some defective character spacings.

Similar situation in src680_m45.

Workaround: select "View/Online Layout".

You can find the OO.o 1.1.2 at http://download.openoffice.org
Comment 4 hin 2004-07-07 07:24:11 UTC
Hi US,

Thank you for your testing. I aready download OpenOffice.org 1.1.2 and installed
to my computer that use Fedora core 2 and installed Tahoma font on it. When I
type THAI character, I found that it still has problem as i've mentioned.

Thank you again.
Comment 5 jjc 2004-08-18 07:31:11 UTC
This seems to be related to freetype autohinting: if I install a freetype
patched with:

http://www.kde.gr.jp/~akito/patch/freetype2/2.1.7/freetype-2.1.7-autohint-cjkfonts-20031130.patch

Thai fonts work perfectly.

I don't see this problem in Fedora Core 1 which uses freetype 2.1.4 and
OpenOffice.org 1.1.0.  I haven't yet investigated whether it's a change to
freetype or to OpenOffice.org that has caused the problem to show up in Fedora
Core 2 (which uses freetype 2.1.7 and OpenOffice.org 1.1.1).

It would be very nice if OpenOffice could work around this problem somehow: it
makes OpenOffice unusable for Thai.  The problem seems to appear whenever the
CTL font is set to an available font that contains Thai characters (including
OONaksit); if the CTL font is set to a font that doesn't contain Thai
characters, with the result that OOo falls back to some other font, it doesn't
appear.  Using Online Layout is not an effective workaround because the spacing
is messed up in printing.
Comment 6 lohmaier 2004-09-14 00:26:48 UTC
can confirm the problem when using "Tahoma" or "Arial Unicode" (both contain the
thai characters) or any other font that contains the thai glyphs (those I tried
and have installed).
The problem doesn't occur not when using "Lucida Sans Unicode" (no thai
characters) or "Gentium" (no thai characters) or <any font that doesn't contain
thai characters)
(OOo 1.1.2 german version)

So I can confirm james_clark's observation.

OOo 1.9m51 doesn't have the problem. All works fine.
Comment 7 hdu@apache.org 2004-09-15 15:58:36 UTC
Problem has the same root cause as issue 28567 which got fixed in CWS vcl22 
(>=SRC680m47)  and issue 28576 in CWS vclppbugs4 (>=SRX645m47). This explains
that the problem does show up depending on the freetype options and version and
why it doesn't show up in SRC680m51 or OOo1.1.3.
=> Setting status to duplicate.

*** This issue has been marked as a duplicate of 28576 ***
Comment 8 hdu@apache.org 2004-10-20 10:00:27 UTC
HDU->HIN: please verify with a recent version, e.g. >=SRC680m54
Comment 9 hin 2004-11-03 06:55:03 UTC
Hi HDU,
   In OpenOffice.org 1.1.3 and SRC680m54 version, I haven't found this problem.
thank you very much for your help.
Comment 10 hdu@apache.org 2004-11-03 10:12:05 UTC
Thank you very much for verifying that the fix works.
Comment 11 hdu@apache.org 2004-11-03 10:13:41 UTC
Closing.