Bug 88545
| Summary: | Consider ignoring Greek/Cyrillic full-width/fixed-width glyphs in CJK fonts | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jungshik Shin <jshin> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, falken, mitz |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jungshik Shin
Some CJK fonts (especially on Windows) have the fixed-width (exactly the same width as CJK glyphs) glyphs for Greek, Cyrillic and non-Latin ASCII characters. When such a CJK font is at the top of the font stack, Greek and Cyrillic are rendered with a very ugly fixed width glyphs in that CJK font even though there are much better Greek/Cyrillic glyphs available in other fonts (e.g. Arial, Times New Roman, Helvetica, Times, etc).
This can happen if a user set his global font setting to use a CJK font for standard, serif, sans-serif family and a web site just specifies a CSS generic family (e.g. 'serif' or 'sans-serif') as Wikipedia does.
This can also happen when a web site specifies such a CJK font at the top of a font stack (or before any Latin/Greek/Cyrillic font).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
*** Bug 88544 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
This sounds like something that should be fixed in fonts. If it's never appropriate to use full-width Cyrillic glyphs, fonts should not have such. And if it is sometimes appropriate, then WebKit has no business removing them from fonts.