mdbootstrap / mdb-ui-kit

Bootstrap 5 & Material Design UI KIT
https://mdbootstrap.com/docs/standard/
Other
24.15k stars 3.53k forks source link

WOFF2 font please #456

Closed tomByrer closed 9 years ago

tomByrer commented 9 years ago

42% browser share can use WOFF2 now, & should grow fast. http://caniuse.com/#feat=woff2 Not sure if this compresses the best: https://everythingfonts.com/ttf-to-woff2 (Google has very aggressive compression before they host on their font CDN,...)

Let me know if you want a PR.

FezVrasta commented 9 years ago

Are you talking about the iconic font or the embedded Google Fonts?

tomByrer commented 9 years ago

Yes to both?

FezVrasta commented 9 years ago

Both already use woff

tomByrer commented 9 years ago

WOFF2 is better than 'WOFF'(v1) https://gist.github.com/sergejmueller/cf6b4f2133bcb3e2f64a http://sth.name/2014/09/03/Speed-up-webfonts/ http://demosthenes.info/blog/976/Serving-Up-WOFF2-Fonts-For-Faster-Pages

FezVrasta commented 9 years ago

Both uses woff2

tomByrer commented 9 years ago

AFAIK, WOFF2 uses .woff2 extension. Is there another folder other than here I should look for Material-Design-Icons.woff2? https://github.com/FezVrasta/bootstrap-material-design/tree/master/dist/fonts

FezVrasta commented 9 years ago

You're right, the roboto font uses woff2, the iconic font uses woff. The iconic font will be replaced soon with official Google Fonts

tomByrer commented 9 years ago

hehe yea, "soon"

tomByrer commented 9 years ago

"Soon" is unknown: https://github.com/google/material-design-icons/issues/1#issuecomment-92078153