-
Notifications
You must be signed in to change notification settings - Fork 45
Home
shairontoledo edited this page Jun 7, 2011
·
27 revisions
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.
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 …
- Installation Linux , MacOSX , Windows
-
Environment Test
- Optional Configuration
- Using external fonts with Fontmap
- 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
- External Encoding (for Ruby 1.9)
- Printing text
- Printing text from file
- Virtual pages
- Working with templates and images
- Rails
- Advanced
- Version 0.8.7 – Every callbacks need a block variable