When using @font-face in CSS, it is documented somewhere, what types of fonts work in each of the main browsers, as well as the priority they give for different types of fonts if one or more of them are missing? I tried and could not answer Google.
@font-face { font-family: 'myfont'; src: url('myfont.eot'); src: url('myfont.eot?#iefix') format('embedded-opentype'), url('myfont.woff') format('woff'), url('myfont.ttf') format('truetype'), url('myfont.svg#myfont') format('svg'); font-weight: normal; font-style: normal; }
Hope something like ...
Formats are allowed in order of preference:
- IE10: TTF, EOT, WOFF
- IE9: EOT, WOFF
- IE8: ...
- Chrome: ...
- Mobile Chrome: ...
- Firefox: ...
- Safari: ...
- Mobile Safari: ...
source share