Module: FN::SWF::Node::Font
- Includes:
- Node::Base
- Defined in:
- lib/fn/swf/node/font.rb
Constant Summary
Constants included from Node::Base
Node::Base::CURRENT_PAGE_HEIGHT, Node::Base::CURRENT_PAGE_WIDTH
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Node::Base
#classify, #has_no_children, #mixin, #value, #visit_children, #with_attributes_like
Class Method Details
.load_all_variants(key, path) ⇒ Object
13 14 15 |
# 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 |
Instance Method Details
#visit(struct, debug = false) ⇒ Object
17 18 19 20 |
# File 'lib/fn/swf/node/font.rb', line 17 def visit(struct, debug = false) has_no_children struct << %[.font #{self[:name]} "#{self[:file]}"] end |