Bug 103467
| Summary: | Improve webfonts download algorithm | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kenichi Ishibashi <bashi> |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | mitz, schenney, simon.fraser |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Kenichi Ishibashi
https://bugzilla.mozilla.org/show_bug.cgi?id=510439#c6 says that Chrome fetches unnecessary webfonts for the following test cases:
- http://people.mozilla.org/~jkew/lazy-fontface-2a.html
font-family list is "Sevillana, Siemreap, GFS Diot".
Sevillana has glyphs for basic Latin so Siemreap and GFS Didot should not be downloaded.
- http://people.mozilla.org/~jkew/lazy-fontface-2b.html
font-family list is "Siemreap, Sevillana, GFS Diot".
Siemreap doesn't have glyphs for basic Latin, so we should download Siemreap first, then download Sevillana. GFS Diot should not be downloaded.
Chrome download all three webfonts for both 2a and 2b.
I confirmed that Safari has the same problem.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
See also: bug 42154.
mitz
I suspect that this is a regression from <http://trac.webkit.org/r130160>.