Bug 135976 - Use CSS unicode-range to optimize @font-face downloads
Summary: Use CSS unicode-range to optimize @font-face downloads
Status: RESOLVED DUPLICATE of bug 42154
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://chris.improbable.org/experimen...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-15 07:03 PDT by Chris Adams
Modified: 2014-08-15 11:26 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Adams 2014-08-15 07:03:47 PDT
http://chris.improbable.org/experiments/browser/webfonts/universal-noto-sans/ has two test cases where the CSS unicode-range property can be used to avoid @font-face downloads when the page does not include characters in the range.

Testing is simple – load one of the testcases and see whether fonts other than the Thai or Armenian font are downloaded:

* http://chris.improbable.org/experiments/browser/webfonts/universal-noto-sans/all-in-one.html
* http://chris.improbable.org/experiments/browser/webfonts/universal-noto-sans/single-name.html

Reported to Apple as rdar://18030068 for iOS
Comment 1 Alexey Proskuryakov 2014-08-15 10:24:21 PDT
Is this a duplicate of bug 42154?
Comment 2 Chris Adams 2014-08-15 11:26:32 PDT
Yeap, duplicate. Not sure how I missed that while searching earlier.

*** This bug has been marked as a duplicate of bug 42154 ***