Bug 135976
| Summary: | Use CSS unicode-range to optimize @font-face downloads | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Adams <chris> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | mmaxfield |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://chris.improbable.org/experiments/browser/webfonts/universal-noto-sans/ | ||
Chris Adams
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Is this a duplicate of bug 42154?
Chris Adams
Yeap, duplicate. Not sure how I missed that while searching earlier.
*** This bug has been marked as a duplicate of bug 42154 ***