shairontoledo / rghost

RGhost is a document creation and conversion API. It uses the Ghostscript framework for the format conversion, utilizes EPS templates and is optimized to work with larger documents. Support(PDF,PS,GIF,TIF,PNG,JPG,etc)
http://rghost.rubyforge.org
MIT License
187 stars 46 forks source link

Changed parameter order to support PDF/A #39

Closed lassetyr closed 11 years ago

lassetyr commented 11 years ago

When using Ghostscript for generating PDF/A-files, the absolute path to "PDFA_def.ps" must be included just before the path to the input-file (as seen in http://ghostscript.com/doc/current/Ps2pdf.htm#PDFA). I have changed the order of parameters to allow this to be defined using the :raw-parameter.

shairontoledo commented 11 years ago

Your change has been packaged on version 0.9.2. http://rubygems.org/gems/rghost

Thanks,