Bug 151545 (thai-bold-italic)

text style "bold" and "italic" didn't applied with Thai text

CLOSED INVALID

Status

()

Core
Internationalization
CLOSED INVALID
16 years ago
16 years ago

People

(Reporter: Arthit Suriyawongkul, Assigned: Roy Yokoyama)

Tracking

(Blocks: 1 bug, {intl})

Trunk
Sun
Solaris
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

16 years ago
Mozilla build id 2002061222
Solaris 8
th_TH.TIS620 locale
----

<b> and <i> tags didn't changed the style of Thai text,
Thai text still displayed in normal style.

expected result:
Thai text displayed in bold style, when between <b>..</b>
Thai text displayed in italic style, when between <i>..</i>
(Reporter)

Comment 1

16 years ago
Created attachment 87524 [details]
test case, in TIS-620 encoding; Thai text in various styles
(Reporter)

Comment 2

16 years ago
Created attachment 87525 [details]
test case, in UTF-8 encoding; Thai text in various styles
(Reporter)

Updated

16 years ago
Alias: thai bold italic
OS: SunOS → Solaris
(Reporter)

Updated

16 years ago
Blocks: 65896
Removing spaces from alias.  Aliases should not contain spaces because they will
confuse Bugzilla in bug lists (like the dependency lists).

Alias: thai bold italic → thai-bold-italic

Updated

16 years ago
Keywords: intl
QA Contact: ruixu → ylong

Comment 4

16 years ago
06-18 branch build/Linux RH7.2:
With test case in comment #1:
bold italic doesn't work, the rests works OK.
With test case in comment #2:
"italic" and "bold italic" don't work.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Reporter)

Comment 5

16 years ago
this is just a guess...

try list Thai fonts available in system

# xlsfonts | grep tis

on Solaris, we'll get something like this

-monotype-angsa-medium-r-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-angsab-bold-r-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-angsai-medium-i-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-angsaz-bold-i-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-browa-medium-r-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-browab-bold-r-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-browai-medium-i-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-browaz-bold-i-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-cordia-medium-r-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-cordiab-bold-r-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-cordiai-medium-i-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-cordiaz-bold-i-normal--0-0-0-0-m-0-tis620.2533-0

from the list there's 3 typefaces

1) angsa
2) browa
3) cordia

each typeface has 4 variants
(medium-regular, bold-regular, medium-italic, bold-italic)

BUT the naming convension of each variant of font
is differ from fonts in other languages.

for example,
-monotype-school-bold-i-normal-bold italic-0-0-0-0-p-0-iso8859-5
-monotype-school-bold-r-normal-bold-0-0-0-0-p-0-iso8859-5
-monotype-school-regular-i-normal-italic-0-0-0-0-p-0-iso8859-5
-monotype-school-regular-r-normal--0-0-0-0-p-0-iso8859-5

we can see that, the format is

-company-facename-bold?-i?-xxxxxxxxxxx

but in case of Thai fonts shown above,

facenames of each variant are NOT the same.

in case of "angsa", there're

angsa
angsab
angsai
angsaz


if these fonts follow the same format with fonts in other languages,
it should be

-monotype-angsa-medium-r-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-angsa-bold-r-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-angsa-medium-i-normal--0-0-0-0-m-0-tis620.2533-0
-monotype-angsa-bold-i-normal--0-0-0-0-m-0-tis620.2533-0

(no 'i' or 'b' or 'z' after "angsa")

----

does the font name is a possible cause of this bug ?

Comment 6

16 years ago
Yes, it's Solaris problem. We need to fix the font definitions in fonts.dir
(fonts.scale) in Solaris side.

When I changed the fonts.dir, I got the correct fonts
in the examples,

16
angsa.ttf  -monotype-angsa-medium-r-normal--0-0-0-0-m-0-tis620.2533-0
angsai.ttf -monotype-angsa-medium-i-normal--0-0-0-0-m-0-tis620.2533-0
angsab.ttf -monotype-angsa-bold-r-normal--0-0-0-0-m-0-tis620.2533-0
angsaz.ttf -monotype-angsa-bold-i-normal--0-0-0-0-m-0-tis620.2533-0
browa.ttf  -monotype-browa-medium-r-normal--0-0-0-0-m-0-tis620.2533-0
browai.ttf -monotype-browa-medium-i-normal--0-0-0-0-m-0-tis620.2533-0
browab.ttf -monotype-browa-bold-r-normal--0-0-0-0-m-0-tis620.2533-0
browaz.ttf -monotype-browa-bold-i-normal--0-0-0-0-m-0-tis620.2533-0
cordia.ttf  -monotype-cordia-medium-r-normal--0-0-0-0-m-0-tis620.2533-0
cordiai.ttf -monotype-cordia-medium-i-normal--0-0-0-0-m-0-tis620.2533-0
cordiab.ttf -monotype-cordia-bold-r-normal--0-0-0-0-m-0-tis620.2533-0
cordiaz.ttf -monotype-cordia-bold-i-normal--0-0-0-0-m-0-tis620.2533-0
lucida.ttf  -bigelow-lucida-medium-r-normal--0-0-0-0-m-0-tis620.2533-0
lucidai.ttf -bigelow-lucida-medium-i-normal--0-0-0-0-m-0-tis620.2533-0
lucidab.ttf -bigelow-lucida-bold-r-normal--0-0-0-0-m-0-tis620.2533-0
lucidaz.ttf -bigelow-lucida-bold-i-normal--0-0-0-0-m-0-tis620.2533-0

Comment 7

16 years ago
Created attachment 89186 [details]
screenshot of testcase 1 with correct fonts.dir in Solaris

Comment 8

16 years ago
Yokoyama-san,

This is Solaris bug, I believe. Can you close this bug?
(Assignee)

Comment 9

16 years ago
Closing as per comment #8.  
Arthit: please reopen if you disagree.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → INVALID

Comment 10

16 years ago
Verified as comment above.
Status: RESOLVED → VERIFIED
(Reporter)

Comment 11

16 years ago
you can close this bug,
it is actually the Solaris bug - as Katakai said.
(Assignee)

Comment 12

16 years ago
done
Status: VERIFIED → CLOSED
You need to log in before you can comment on or make changes to this bug.