class FontforgeRuby

Public Class Methods

convert(input, output) click to toggle source
# File lib/fontforge_ruby.rb, line 2
def self.convert(input, output)
  convert_path = File.join(File.dirname(File.expand_path(__FILE__)),  "convert.sh")
  system "fontforge -script '#{convert_path}' '#{input}' '#{output}'"
end