• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Ruby FPDF is a Ruby port of PHP version FPDF

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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/

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
用rbenv给整个系统安装ruby(所有用户都可用)发布时间:2022-07-14
下一篇:
安装Ruby,Rails运行环境常见的错误发布时间:2022-07-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap