Css – offline font converter for @font-face

convertercssfont-face

Is there any free and offline font converter which can convert
.ttf(truetype) format to

  • .eot
  • .woff
  • .svg

Want to use in @font-face likes,

@font-face {
font-family: 'MyFontFace';
src: url('fonts/MyFont.eot');
src: local('☺'), url('fonts/MyFont.woff') format('woff'),  
    url('fonts/MyFont.ttf') format('truetype'), url('fonts/MyFont.svg')        
    format('svg');
font-weight: normal;
font-style: normal;
           }

Best Answer

If you have fontforge you can use it convert ttf to svg and woff. ttf2eot tool can convert to eot. These two are offline tools that should satisfy your offline requirements.

But as ralph.m suggested you are better off using one of the online converters. Fontsquirrel is one. Everything Fonts has a font-face converter too.

http://everythingfonts.com/font-face

Related Topic