Page MenuHomePhabricator

Start using WOFF2 in ULS WebFonts
Closed, ResolvedPublic

Description

Supported by little over 50% of modern browsers (current desktop Firefox, Chrome, Opera; and current Chrome for Android, and Opera for Android).

http://caniuse.com/#feat=woff2

https://docs.google.com/presentation/d/10QJ_GABjwzfwUb5DZ3DULdv82k74QdPArkovYJZ-glc/present

While at it let's also make sure all fonts have a WOFF variant if not already (I know most ULS fonts have a .woff already.

http://caniuse.com/#feat=woff (over 90%) - IE9+, Edge, Firefox, Chrome, Opera, Safari, Android, iOS. Basically all except Opera Mini.

Event Timeline

Change 283125 had a related patch set uploaded (by Santhosh):
Add WOFF2 version of fonts

https://gerrit.wikimedia.org/r/283125

Percentage comparison of size reductions would be interesting.

Can we drop EOT at this point to reduce repo size? IE9+ supports WOFF as far as I can see: http://socialcompare.com/en/comparison/browser-fonts-support-comparison

TTF is also quite soon becoming obsolete.

Change 283125 merged by jenkins-bot:
Add WOFF2 version of fonts

https://gerrit.wikimedia.org/r/283125

Not working on mediawiki.org currently because https://www.mediawiki.org/static/current/extensions/ points to wmf.1 branch. I am trying to figure out why is this and whether we need to change something.