TTF to EOT and SVG online converter

Watching the recent hype on the CSS @font-face declaration I decided to help myself out and write an application to automatically create all those EOT and SVG files from TTF ones.

It's still a 2-hour-old pre alpha, the SVG files are not optimized, so they are huge in size -- so you are free to test it on your own risk.

And please remember -- most fonts are copyrighted by their owners, and publishing them on your website may be an offense.

Please report any bugs, feature requests in the comments.

Select a TTF file and wait for the magic to happen!

All generated files are deleted automatically after ±5 minutes of existence.
SVG conversion is powered by Fontforge, EOT conversion is powered by ttf2eot

 

Comments

e.g. Martin  

e.g. saulis.com  

e.g. martin@example.com  

 

  • Jeremy

    3 Months, 3 Weeks, 5 Days, 22 Hours, 16 Minutes ago

    Thanks for the little app - it worked better than Batik for fonts that are non-sequential (Batik ignores characters if they are not in sequential numerical order).

    There is one issue, however, Chrome will not accept the SVG fonts that this application produces. After some investigation I found that the SVG namespace (xmlns="http://www.w3.org/2000/svg") is not added to the root svg element. If you could have this add the namespace as well it would work perfect.

    Would also love to hear the details about what is going on behind the scenes here. Thanks!

    reply

    • Martin

      3 Months, 1 Week, 2 Days, 18 Hours, 48 Minutes ago

      Jeremy, thank you for pointing that out -- fixed it, the namespace is now being declared properly.
      As for the details -- nothing to explain really:
      - uploading the file;
      - passing the ttf over to ttf2eot and running the EOT conversion in the shell;
      - passing the ttf over to fonverter and running the SVG conversion in the shell;
      - adding the namespace to the SVG root using simple PHP replaces;
      - voila!

      Hope that helps ;-)

      reply

  • idioten

    2 Months, 2 Weeks, 4 Days, 21 Hours, 48 Minutes ago

    The EOT and SVG files being created turned out to be 0 bytes when the file extention for the TTF-file was in uppercase. I changed it to lowercase and the EOT file is still 0 bytes, SVG turned out fine though. Other than that: Great app!

    reply

  • Raffaele Turra

    1 Month, 1 Week, 2 Days, 21 Hours, 59 Minutes ago

    Great tool, thank you for the effort.

    reply