I'm using Google's font : Roboto
When I download the zip file ( in order to use it localy) - I get this zip file :
But in order to use this font with older browsers I need this format :
@font-face {
font-family: 'MyWebFont';
src: url('webfont.eot'); /* IE9 Compat Modes */
src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('webfont.woff') format('woff'), /* Modern Browsers */
url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */
url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}
But as You can see - I don't have the eot
, woff
, svg
formats.
There are online tools but they yield different results.
Question:
How/Where can I get the most trusted/official formats for my google font ?
Option One: http://everythingfonts.com/font-face - Use this to upload your file and it will convert to cross browser @font-face.
Option Two:
First Step -> https://www.google.com/fonts/specimen/Roboto
Second Step -> Open Roboto in Google Fonts (top right corner link)
Third Step -> Choose the way you'd like to call the font for your body (follow the steps) - Standard - @import - Javascript