Skip to main content
Participating Frequently
March 1, 2010
Question

Asian language (Thai) not displaying correctly

  • March 1, 2010
  • 2 replies
  • 24012 views

Hi,

I am using a the downloaded TextFlow Hello World example to display text (Flash CS4). Thai language characters show up as rectangles while Chinese (Simplified and Traditional) and Spanish show up correctly. Weird thing is that I also use a standard ComboBox component in my UI as language selector; and the word "ภาษาไทย" (Thai) showed up correctly in it. (So I am guessing that's because the ComboBox is using TextField instead of TLF).

I tried to set CharacterFormat.locale but it doesn't seem to have any effect.

Thanks.

This topic has been closed for replies.

2 replies

Participating Frequently
March 8, 2010

On Windows XP, the installation of some of the fonts is optional.

Control Panel -> Regional and language options, languages tab, "Install files for complex script and right-to-left languages (including Thai)" checkbox.

We do not use Arial Unicode MS in our fallbacks because this font is *not* provided with Windows; AFIAK, it is only provided with Office.

Adobe Employee
March 2, 2010

The boxes are what you get when the font does not have the correct glyphs for the characters. Do you know if the font you are using has those characters in it? Can you tell me what font it is? Is it an embedded font, or a device font? On Mac or Windows?

Thanks,

- robin

gengwangAuthor
Participating Frequently
March 4, 2010

Hi Robin,

Thanks for getting back. My answers are below inline.

>> Do you know if the font you are using has those characters in it?

Yes I think so because the TextField can display them without boxes.

>> Can  you tell me what font it is?

I have no idea as I don't know Thai. But After I read a couple of threads here at the forum, I used "Arial Unicode MS" for the CharacterFormat and they did all show up.

>> Is it an embedded font, or a device font?  On Mac or Windows?

The Arial Unicode MS is a device font under Windows XP. I am trying to embed it for CFF but I am running into a wall now.( I will start a new post about it)