Ruby FPDF is a Ruby port of PHP version FPDF

What is Ruby FPDF?

Ruby FPDF is a Ruby port of Olivier Plathey's excellent PDF generator, FPDF. FPDF is written in PHP, and as such can only be used from PHP scripts. Ruby FPDF, as the name suggests, is written in Ruby and can be used from Ruby scripts.

Ruby FPDF was ported and is maintained by Brian Ollenberger. If you need to contact me, see the contact link above.

Documentation

At this time, I have not written any documentation for Ruby FPDF, since the behaviour is almost identical to that of FPDF 1.53. The primary difference is in how the final PDF file is extracted. In Ruby there is no need to send a PDF to a web browser like there is with the PHP version. The basic usage should be made clear in the examples.

There are now three extensions that come with Ruby FPDF. There is a bookmark support module, an EPS image module, and a Chinese language support module. All are based on similar modules for the PHP FPDF library and all are direct ports. Please see the examples and the header comments in the source for these modules for their usage.

Contributions

Kim Shrier has contributed bug fixes, examples, external fonts support, JPEG support, and an upgrade to FPDF version 1.53.

Sylvain Lafleur contributed the initial port of the bookmark module.

Thiago Jackiw contributed the EPS module, which is ported from the PHP module by Valentin Schmidt.

Thanks also to the others who have contributed bug reports and fixes.

Download Ruby FPDF

You can download Ruby FPDF below. It is released under a permissive license, similar to that of FPDF. I only ask that you retain the copyright notice at the top of the source file. You may make modifications to FPDF, but if you redistribute those modifications, make it clear in a comment immediately before or after the copyright notice that you have modified it. I also wouldn't mind if you sent patches back to me, but you are not strictly required to do so.

My version numbering system is as follows. The version number is the same as the corresponding equivalent version of FPDF. I append a letter to distinguish subsequent releases of Ruby FPDF within one version of FPDF, in case that is necessary.

  • Ruby FPDF 1.53d - Released July 19, 2006. This release comes with more bug fixes and a new port of EPS support by Thiago Jackiw. Many thanks to everybody who has contributed feedback and bug fixes.


From http://zeropluszero.com/software/fpdf/

 

 

本文转自RubyPdf 的中文博客博客园博客,原文链接:http://www.cnblogs.com/hardrock/archive/2006/07/21/456595.html,如需转载请自行联系原作者

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值