Ruby/PDFlib

Japanese page is here.

Ruby extension library to access PDFlib, a library for dynamically generating PDF files

What's new

PDFlib 6.0.3 officially supports a Ruby binding. Then, the task of Ruby/PDFlib has been completed. Thank you very much for your enjoying Ruby/PDFlib! (2006/8/15)

Download

current version: ruby-pdflib-0.71.tar.gz

My development environment:

* sample/pdfimage.rb doesn't work correctly with Ruby 1.4.5 because there exists a bug arround Regexp in Ruby 1.4.5.

Licence

GPL (the GNU General Public Licence) version 2 or later. Note: PDFlib itself is *NOT* a free software or public domain. Please see documents in the archive of PDFlib for details.

History

ver 0.71
subclass of PDF can be defined. (Thanks to Makoto Matsukawa and Nobuyoshi Nakada)
PDF.open can be called with a block. In such a case, evaluate the block with an argument of an opend PDF file, and then close it.
constants are defined under PDF::Constants module and PDF class includes PDF::Constants.
ver 0.7
support PDFlib ver.4 (but PDI is not supported)
fix a bug in PDF#set_transition (Thanks to Fujikawa Norihide and WATANABE Hirofumi)
add PDF#get_buffer (Thanks to Guillaume Pierronnet)
PDF.new and PDF.open can be called without argument (for in-core PDF generation)
ver 0.6
support PDFlib ver.3.03 (Thanks to yuichi TAKAHASHI)
clean up extconf.rb (Thanks to Noritsugu Nakamura for pointing out the problem)
ver 0.51
fix a bug in extconf.rb (Thanks to yuichi TAKAHASHI)
add sample/jtext2pdf.rb (Thanks to yuichi TAKAHASHI)
ver 0.5
support PDFlib ver.3
add image methods
add sample/pdfimage.rb
translate documents to RD format
ver 0.4
add link methods
add sample/pdfgraph.rb
add API document (sorry, Japanese only)
ver 0.3
add color methods
add sample/pdfclock.rb
bug fix
ver 0.2
errors of PDFlib are treated as Ruby's exception
add graphic methods
ver 0.1
text methods are ready
sample/hello.rb and sample/text2pdf.rb work well

Link

PDFlib HomePage
The newest version of PDFlib can be downloaded from here.
ruby as glue language
Ruby-related page by Noritugu Nakamura. He released Ruby bindings for other PDF-generating librarys, ClibPDF and Panda.


back to my Ruby page(Japanese)


back to my home page(Japanese)


TAKAHASHI Hitoshi (hitoshi.takahashi@kek.jp)