When embedding a web font, I need to include all of these: "ttf, eot, woff and svg"?
I am using a unique font for a web app that will be built using diff on the phone and deployed to Android. Does Android need to include all these different formats?
ttf, eot, woff and svg
I'd rather not download a bunch of font files if I don't need them.
+3
TK123
source
to share
2 answers
Doesn't hurt, TTF, SVG are widely used, EOT is not supported at all. The browser only has to load one font file, not all four, so it doesn't hurt to declare it later for support.
http://caniuse.com/#feat=ttf
http://caniuse.com/#feat=woff
http://caniuse.com/#feat=svg
http://caniuse.com/#feat=eot
+2
David Nguyen
source
to share
If you can (for example you have a font in this format) then just use the android ttf fonts.
0
Okas
source
to share