Closed Bug 312812 Opened 19 years ago Closed 19 years ago

mozilla and other applications based on mozilla (firefox thunderbird etc.) don't support utf-8 encoded font name.

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 223653

People

(Reporter: zsu, Assigned: blizzard)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 Firefox/1.0.7 SUSE/1.0.7-0.2 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 Firefox/1.0.7 SUSE/1.0.7-0.2 I'm trying to hack fontconfig to provide localized font family and style names to applications. But I found that mozilla based applications don't support the utf-8 encoded localized font name provided by fontconfig. All font names, which contain characters outside latin1 range, become garbage. I'll post two screenshots to demo this issue. Please refer to http://bugzilla.novell.com/show_bug.cgi?id=128930 as well. Reproducible: Always Steps to Reproduce: 1.apply patch from bugzilla.novell.com/show_bug.cgi?id=128930 to fontconfig. 2.install a font with localized name, for example "AR PL SungtiL GB" (gbsn00lp.ttf). 3.run firefox in corresponding locale (zh_CN). 4.open the font configuration dialog and you could see the garbage font names. Actual Results: The localized font names become garbage. Expected Results: The localized font names should be displayed correctly.
You can see that the localized font names couldn't be displayed correctly.
OpenOffice could display those localized font names correctly.
Is this true in the current development builds - I know quite a bit of work has been done in general on UTF-8 support.
I confirmed that firefox 1.5beta2 doesn't have this issue.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
*** This bug has been marked as a duplicate of 223653 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: