vendor/gems/prawn-0.3.0/lib/prawn/font.rb
# Looks up the given font name. Once a font has been found by that name,
# it will be cached to subsequent lookups for that font will return the
# same object.
#
Looks up the given font name. Once a font has been found by that name,
it will be cached to subsequent lookups for that font will return the
same object.
Looks up the given font name . Once a font has been found by that name it will be cached to subsequent lookups for that font will return the same object .
def find_font(name, options={}) 
      if font_families.key?(name)
        family, name = name, font_families[name][options[:style] || :normal]
      end
      font_registry[name] ||= Font.new(name, options.merge(:for => self, :family => family))
    end
def find_font ( name , options = { } ) if font_families . key? ( name ) family , name = name , font_families [ name ] [ options [ :style ] || :normal ] end font_registry [ name ] ||= Font . new ( name , options . merge ( :for => self , :family => family ) ) end
Looks up the given font name.
Looks up the given font name .
#:nodoc:
name
<not_specific>
options
<not_specific>