Closed Bug 305394 Opened 19 years ago Closed 19 years ago

Thai characters not displayed with the correct font in <h1> elements

Categories

(Core Graveyard :: GFX: Mac, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 225217

People

(Reporter: epietriga, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Thai characters are not displayed with the correct font in the <h1> element
found e.g. at [1]. Note that thai characters are displayed correctly within
<p><a> elements inside the same page.

The <h1> problem occurs at least with Mac OS X 10.4.2/Firefox 1.0.6. It does
*not* occur with Firefox 1.0.6 under Windows XP (I haven't tested Linux). It
does not occur either with Safari 2.0 (probably not helpful, but just FYI).

Page at [1] is served as UTF-8, and it is valid XHTML 1.1.

Note also in the same page another less important bug: there is a lot of
whitespace between the words actually written in Thai and the closing
parenthesis (whereas there is no whitespace in the source).

[1] http://emmanuel.pietriga.free.fr/photos/thailand.php


Reproducible: Always

Steps to Reproduce:
1. load http://emmanuel.pietriga.free.fr/photos/thailand.php
2.
3.

Actual Results:  
Firefox displays this text for the h1 element (weird chars between the
parentheses instead of thai chars): Thailand (ราชอาณาจักรไทย)

Expected Results:  
Display thai characters.
This WFM since the 2005-03-23 trunk builds, due to the fix of bug 159809 (which
changed the default fornt for Thai to "Lucida Grande").

Reporter - notice that you can manually change your defaulty Thai fonts to
Lucida Grande - that should cause the page to display properly.

I'm not closing it as WFM since I think this should be displayed correctly even
when the default font is one which does not include Thai. The system should fall
back to a font that does have Thai.
Component: OS Integration → GFX: Mac
Product: Firefox → Core
Version: unspecified → Trunk
There's a serious bug with Gecko's ability to handle certain Mac fonts,
including fonts for Thai (bug 225217, bug 246527, perhaps others).  As Uri
noted, we've worked around the for now in bug 159809, which wasn't fixed for Fx
1.0.x updates for some reason....

More appropriate to dupe to existing bug 225217....

*** This bug has been marked as a duplicate of 225217 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
It wasn't backported because the 1.0.x branch is a stable, security-fix-only branch.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.