Sha256: 7e52405a8bee6385f4e494319db8ccc9dd036bcbcf7e045b6a31a4033fcedd07
Contents?: true
Size: 560 Bytes
Versions: 4
Compression:
Stored size: 560 Bytes
Contents
require File.dirname(__FILE__) + "/../../node/base" module FN module SWF module Node def Font(name, file) FN::Node::Base("font", :name => name, :file => file).extend(Font) end module Font include FN::Node::Base def self.load_all_variants(key, path) # no-op, since at present, we aren't using custom fonts?! end def visit(struct) has_no_children struct << %[.font #{self[:name]} "#{self[:file]}"] end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fn_document-0.9.6 | lib/fn/swf/node/font.rb |
fn_document-0.9.4 | lib/fn/swf/node/font.rb |
fn_document-0.9.3 | lib/fn/swf/node/font.rb |
fn_document-0.9.2 | lib/fn/swf/node/font.rb |