Closed Bug 346786 Opened 18 years ago Closed 18 years ago

font.name-list support is 'flaky' (for pages encoded in UTF-8/16) (lang attribute ignores font.name-list)

Categories

(Core :: Graphics, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jshin1987, Assigned: masayuki)

References

()

Details

(Keywords: intl)

I have the following font pref. entries:

font.default.ko : sans-serif
font.name.sans-serif.ko : Arial
font.name-list.sans-serif.ko: Gulim, 굴림 
font.name.sans-serif.x-unicode: Arial
font.name-list.sans-serif.x-unicode: Gulim, 굴림 

With the default system locale set to Korean, the lines with no lang specified and with 'lang=ko' specified should be rendered with Arial (ASCII portion) and Gulim(굴림)(Korean and Chinese characters). However, 'CODE2000' is picked up instead for non-ASCII characters. 

If I change font.name.sans-serif.ko to '굴림' (Gulim), 'lang=ko' line is rendered with Arial and Gulim(굴림). 

This problem also affects the font selection in the UI because chromes are all in 'Unicode'. With 'font.name.sans-serif.ko' set to Arial (with Gulim listed in font.name-list.sans-serif.ko), CODE2000 is used throughout the UI (an easy way to see it with en-US version is to bookmark a Korean page with a Korean title 
(and move it to the bookmark toolbar).
oops. I meant to give it to pavlov.
Assignee: nobody → pavlov
currently, we don't use font.name-list for lang attribute. But the patch of bug 343454 makes to use it. I think that this bug is fixed by bug 343454.

taking.
Assignee: pavlov → masayuki
Depends on: 343454
Summary: font.name-list support is 'flaky' (for pages encoded in UTF-8/16) → font.name-list support is 'flaky' (for pages encoded in UTF-8/16) (lang attribute ignores font.name-list)
This may be fixed by bug 343454.

-> FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
-> REOPEN

We need more work on bug 343454.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
-> FIXED by bug 343454.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.