WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
93331
"grc" language (Ancient Greek) probably should be mapped to Greek script
https://bugs.webkit.org/show_bug.cgi?id=93331
Summary
"grc" language (Ancient Greek) probably should be mapped to Greek script
Matt Falkenhagen
Reported
2012-08-06 20:41:38 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-08-07 11:41:58 PDT
Is a modern Greek font optimal for rendering Ancient Greek?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug