lib/prawn/icon/font_data.rb in prawn-icon-1.4.0 vs lib/prawn/icon/font_data.rb in prawn-icon-2.0.0
- old
+ new
@@ -43,10 +43,10 @@
end
attr_reader :set
def initialize(document, opts = {})
- @set = opts[:set] || :fa
+ @set = opts.fetch(:set)
load_fonts(document)
end
def font_version
yaml[specifier]['__font_version__']