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

Change :epswrite to :eps2write. #61

Closed InAbsentia closed 9 years ago

InAbsentia commented 9 years ago

epswrite has been removed from Ghostscript (item 2.3 here). When attempting to output to EPS, RGhost throws an error that the device doesn't exist when outputting with the :eps device. This fixes that by replacing :epswrite with :eps2write, the new device name in Ghostscript.