Closed
Bug 151545
(thai-bold-italic)
Opened 22 years ago
Closed 22 years ago
text style "bold" and "italic" didn't applied with Thai text
Categories
(Core :: Internationalization, defect)
Tracking
()
CLOSED
INVALID
People
(Reporter: arthit.suriyawongkul, Assigned: tetsuroy)
References
(Blocks 1 open bug)
Details
(Keywords: intl)
Attachments
(3 files)
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•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
Reporter | ||
Updated•22 years ago
|
Alias: thai bold italic
OS: SunOS → Solaris
Comment 3•22 years ago
|
||
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
Comment 4•22 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•22 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•22 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•22 years ago
|
||
Comment 8•22 years ago
|
||
Yokoyama-san,
This is Solaris bug, I believe. Can you close this bug?
Assignee | ||
Comment 9•22 years ago
|
||
Closing as per comment #8.
Arthit: please reopen if you disagree.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 11•22 years ago
|
||
you can close this bug,
it is actually the Solaris bug - as Katakai said.
You need to log in
before you can comment on or make changes to this bug.
Description
•