[Webkit-unassigned] [Bug 93331] New: "grc" language (Ancient Greek) probably should be mapped to Greek script
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 6 20:41:39 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93331
Summary: "grc" language (Ancient Greek) probably should be
mapped to Greek script
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://en.wikipedia.org/wiki/Pankration
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: falken at chromium.org
CC: ap at webkit.org, jshin at chromium.org
It looks like ICU doesn't assign a script for "grc" language (Ancient Greek). For example:
char maximizedLocale[ULOC_FULLNAME_CAPACITY];
uloc_addLikelySubtags("grc", maximizedLocale, sizeof(maximizedLocale), &status);
// now maximizedLocale is "grc"
char script[ULOC_SCRIPT_CAPACITY];
uloc_getScript(maximizedLocale, script, sizeof(script), &status);
// returns 0, and now script is the empty string. status is success.
Since "grc" is not mapped to a script, WebKit will use the font for the Common script, which might not be appropriate, especially for CJK fonts (see bug 88545).
We should check whether it's intentional that ICU/CLDR doesn't assign a script to "grc". Curiously, in icu/source/data/misc/supplementalData.txt, there is:
grc{
secondary{
scripts{
"Cprt",
"Grek",
"Linb",
}
}
}
So it's possible ICU can return these scripts somehow (though we'd then have to choose between them).
Wikipedia uses lang="grc" in articles like <http://en.wikipedia.org/wiki/Pankration>
FWIW, Firefox has the same behavior: lang="grc" content isn't rendered using their Greek font setting
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list