module FN::SWF::Node::Font

Public Class Methods

load_all_variants(key, path) click to toggle source
# File lib/fn/swf/node/font.rb, line 13
def self.load_all_variants(key, path)
  # no-op, since at present, we aren't using custom fonts?!
end

Public Instance Methods

visit(struct, debug = false) click to toggle source
# File lib/fn/swf/node/font.rb, line 17
def visit(struct, debug = false)
  has_no_children
  struct << %[.font #{self[:name]} "#{self[:file]}"]
end