Skip to content

bernerdschaefer/ttf2eot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTF2EOT

TTF2EOT provides ruby bindings for http://code.google.com/p/ttf2eot/.

Usage

There's just one method available: TTF2EOT.convert. It accepts a path or IO object for the source TTF file, and a path or IO object for the EOT file.

TTF2EOT.convert("input.ttf", "output.eot")
# => #<File:output.eot>

input = StringIO.new(File.read("input.ttf"))
output = StringIO.new
TTF2EOT.convert(input, output)
# => #<StringIO:0x007f815a83a210>

About

Convert TTF font files to EOT fonts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors