Fpdf

Jul 20, 2023

Free PHP class to generate PDF files with pure PHP

FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. The advantage is that PDFlib requires a fee for a commercial usage. F from FPDF stands for Free you may use it for any kind of usage and modify it to suit your needs.

FPDF has other advantages high level functions. Here is a list of its main features

* Choice of measure unit, page format and margins
* Page header and footer management
* Automatic page break
* Automatic line break and text justification
* Image support JPEG and PNG
* Colors
* Links
* TrueType, Type1 and encoding support
* Page compression

Of course, the generation speed of the document is less than with PDFlib. However, the performance penalty keeps very reasonable and suits in most cases, unless your documents are particularly complex or heavy.



Checkout these related ports:
  • Yatex - Yet Another LaTeX mode and html mode on Emacs
  • Xtexsh - Tcl/Tk-based simple TeX interface
  • Xreader - Multi-format document reader
  • Xpp - X11-based printer manager for CUPS
  • Xpdfopen - Command line utility for PDF viewers
  • Xmbibtex - Reference manager based on the BibTeX file format
  • Xfce4-print - Print system support for the Xfce Desktop
  • Utopia - Adobe Utopia typeface for Groff
  • Typetools - Tools for manipulating fonts
  • Txtbdf2ps - Translator TXT + BDF to PS
  • Ttfquery - FontTools-based package for querying system fonts
  • Ttfautohint - Automatic font hinting library
  • Ttf2pt1 - True Type Font to Postscript Type 1 Converter
  • Trueprint - Print program listings on postscript printer
  • Transfig - Tools to convert Xfig .fig files