Class: FontforgeRuby
- Inherits:
-
Object
- Object
- FontforgeRuby
- Defined in:
- lib/fontforge_ruby.rb
Class Method Summary collapse
Class Method Details
.convert(input, output) ⇒ Object
2 3 4 5 |
# File 'lib/fontforge_ruby.rb', line 2 def self.convert(input, output) convert_path = File.join(File.dirname(File.(__FILE__)), "convert.sh") system "fontforge -script '#{convert_path}' '#{input}' '#{output}'" end |