When using @font-face
in CSS is it documented anywhere what font types work in each the major browsers and also the priority they give to different font types if one or more is missing? I tried and failed to Google the answer.
@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;
}
Hoping for a like something like ...
Formats allowed in order of preference:
- IE10: TTF, EOT, WOFF
- IE9: EOT, WOFF
- IE8: ...
- Chrome: ...
- Mobile Chrome: ...
- FireFox: ...
- Safari: ...
- Mobile Safari: ...