PDF::Writer VS Ruby FPDF

Hi list,
I see almost all people here uses PDF::Writer for generating pdf
documents with rails. I used it too at first, but am using both now and
would like to see some advantages and shortfalls you came using each of
these two packages. Here are my thoughts for now:

PDF::Writer:

  • extensive documentation
  • writen using ruby conventions
  • easy to use
  • some bugs with embeding fonts prevent using with other then standard
    encodings (all central european language for example)

FPDF:

  • ported from PHP version, and no too much Ruby style code (capital
    letter methods etc)
  • no documentation (but all documentation should be same as for
    original, PHP version)
  • easy to solve bugs because working PHP version is always available
  • easy to extend as many examples / scripts exists on fpdf.org site


Bojan M.
Informatika Mihelac, Bojan M. s.p. | www.informatikamihelac.com
-> tools, scripts, tricks from our code lab: http://source.mihelac.org

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs