[Webkit-unassigned] [Bug 10874] New: lang, xml:lang, content-language ignored when choosing fonts
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Fri Sep 15 13:08:22 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=10874
Summary: lang, xml:lang, content-language ignored when choosing
fonts
Product: WebKit
Version: 419.x
Platform: Macintosh PowerPC
URL: http://en.wikipedia.org/wiki/Han_unification
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: opendarwin at 2pi.dk
When rendering Chinese, Japanese and Korean pages, WebKit uses the
International preferences for choosing the font. The language attributes are
not considered. This means that Chinese pages come out wrong on a Japanese
computer.
Example:
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="content-language" content="zh-CN"/>
<title>渤麦堂</title>
</head>
<body>
<h1>麦界新闻 苹果 It's Showtime
特别发布会</h1>
</body>
</html>
The H1 is rendered in different fonts, depending on the user's language choice.
Traditional Chinese, simplified Chinese, and Japanese give three different
results, only the simplified Chinese is correct.
WebKit should look at lang/xml:lang attributes, and HTTP's Content-Language
header before using user defaults to choose fonts for unihan characters.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list