Skip to content
shairontoledo edited this page Jun 7, 2011 · 27 revisions

Ruby Ghostscript

The easy way to build documents



The Ghost’s speed and ease of use will amaze you! :)


Ruby Ghostscript (RGhost) is a library for document developers wanting a quick and easy way to generate pdf files. It’s optimized to work with larger documents.

Notable features include: auto pagination, dynamic cursor, custom font tags, TTF and Type1 font support, virtual page(splitting into columns), image insertion, , text wrap, 32 barcodes, geometric shapes and vector drawing, EPS template support, PDF links, PDF password, Ruby on Rails data grid and multiple output formats.

And now, it’s hello world

Create a file with content


 doc=RGhost::Document.new
 doc.show 'Hello World' , :color => :blue
 doc.render :pdf, :filename => "hello.pdf"

RGhost Manual
RGhost RDOC
RGhost English Group
RGhost Grupo em Português

Both above are outdated, please see this wiki, it has been updating constantly …

Adapters

RGhost Barcode
RGhost Rails

Wiki Pages

Configuring

RGhost way

Change Log

  • Version 0.8.7 – Every callbacks need a block variable

Get also

Ghostscript for Windows
RGhost Barcode