Class: DragonflyPdf::Processors::SubsetFonts
- Inherits:
-
Object
- Object
- DragonflyPdf::Processors::SubsetFonts
- Defined in:
- lib/dragonfly_pdf/processors/subset_fonts.rb
Instance Method Summary collapse
Instance Method Details
#call(content, opts = {}) ⇒ Object
4 5 6 7 8 |
# File 'lib/dragonfly_pdf/processors/subset_fonts.rb', line 4 def call content, opts={} content.shell_update(ext: :pdf) do |old_path, new_path| "#{gs_command} -o #{new_path} -f #{old_path}" end end |