This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Home
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
Wiki Pages
Configuring
- Installation Linux , MacOSX , Windows
- Environment Test
- Optional Configuration
- Using external fonts with Fontmap
RGhost way
- Basic usage
- Units
- Page Control
- Paper and Page Layout
- Fonts
- Defining and Using Tags
- Document and Callbacks
- Color RGB CMYK and Grayscale
- Object Orientation and Position
- Zoom and Scale
- Graphic shapes
- Printing
- Printing text
- Printing text from file
- Virtual pages
- Working with templates and images
- Rails
- Advanced
Change Log
- Version 0.8.7 – Every callbacks need a block variable






