What files do I install for the awesome font

Hello,
I am working on adding an awesome font to my website.

On the Awesome github font page, it simply says:

"Install FontAwesome.otf and go to the copy and paste page. Happy design"

Please, someone advise me - do I need to install all those other files that are in the folder downloaded from github? These other files are:
fontawesome-webfont.eot
fontawesome-webfont.svg
fontawesome-webfont.ttf
fontawesome-webfont.woff

thank

+5
source share
2 answers

Yes :) I would install them all. These are font files for supporting various browsers.

+5

@font-face CSS

http://www.font-face.com/

, .

:

@font-face {
    font-family: 'myFont';
    src: url('includes/fonts/DejaVuSans-webfont.eot');
    src: url('includes/fonts/DejaVuSans-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/LDejaVuSans-webfont.woff') format('woff'),
         url('includes/fonts/DejaVuSans-webfont.ttf') format('truetype'),
         url('includes/fonts/DejaVuSans-webfont.svg#DejaVuSansBook') format('svg');
    font-weight: normal;
    font-style: normal;
}


body{ font-family: myFont, arial; }
0

All Articles