lib/hexapdf/document/fonts.rb in hexapdf-0.32.2 vs lib/hexapdf/document/fonts.rb in hexapdf-0.33.0

- old
+ new

@@ -51,10 +51,10 @@ end # :call-seq: # fonts.add(name, **options) -> font # - # Adds the font to the document and returns it (using the loaders specified with the + # Adds the font to the document and returns it (using the font loaders specified with the # configuration option 'font_loaders'). # # If a font with the same parameters has been loaded before, the cached font object is used. def add(name, **options) options[:variant] ||= :none # assign default value for consistency with caching