fpdf 1.0.2

Minimalist class for generating PDF documents.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

FPDF

This project is a port of the FPDF project from PHP, written by Olivier Plathey. I have tried to stay as fatithful as possible to the PHP version. The following differences exist:

  • Output() only gives back a ubyte array. No direct output to a file or stdout.
  • Only builtin fonts are supported. (I can't figure out how they work in PDF).
  • Only ISO-8859-1. No Unicode support.
  • No GIF support.

This should not be considered a full solution to the need for PDF support in D, but a minimalist one.

Note. If you don't need to be able to import PDFs, you should check out harud.

Documentation

Documentation for the original PHP version can be found at http://fpdf.org

There are currently no plans to create a D specific version.

Modules

All my modules are kept under the 'jaypha' umbrella package. The fpdf library consists of the following modules.

  • jaypha.fpdf
  • jaypha.fpdf_fonts

License

Distributed under the Boost License.

Todo

Port FPDI, which allows the importation of existing PDF documents.

Current Problems

Linker is unable to find imageformats code. Placing a copy of imageformats.d into your project fixes this.

Authors:
  • Jason den Dulk
Dependencies:
imageformats
Versions:
1.0.2 2015-Apr-06
1.0.1 2015-Mar-04
1.0.0 2015-Jan-26
0.1.1 2015-Jan-08
0.1.0 2015-Jan-08
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 286 downloads total

Score:
0.8
Short URL:
fpdf.dub.pm