def write
      @dir = FileUtils.mkdir_p @html_dir unless File.directory? @html_dir
      @html_file = File.join(@html_dir, @font_name + '.html')

      File.delete(@html_file) if File.exist?(@html_file)
      @output = File.open(@html_file, 'w') { |file| file.write(@result) }
      @html_file
    end
def write
      @dir = FileUtils.mkdir_p @html_dir unless File.directory? @html_dir
      @html_file = File.join(@html_dir, @font_name + '.html')

      File.delete(@html_file) if File.exist?(@html_file)
      @output = File.open(@html_file, 'w') { |file| file.write(@result) }
      @html_file
    end
Public: Initialize a HTML generation.

 css_file - A String filepath to the generated CSS.
 html_dir - A String path to the directory where file will be created.

 Returns the String HTML document code.
 Internal: (Re-)Create a HTML file and write code there.

 Returns the HTML filepath just created.