Bug 103467 - Improve webfonts download algorithm
Summary: Improve webfonts download algorithm
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-27 16:34 PST by Kenichi Ishibashi
Modified: 2012-11-29 13:44 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenichi Ishibashi 2012-11-27 16:34:32 PST
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.
Comment 1 Alexey Proskuryakov 2012-11-29 11:05:24 PST
See also: bug 42154.
Comment 2 mitz 2012-11-29 13:30:51 PST
I suspect that this is a regression from <http://trac.webkit.org/r130160>.