BSD Ports

print/fpdf 1.86,1 FreeBSD

Free PHP class to generate PDF files with pure PHP

System
FreeBSD
Repository
FreeBSD ports
Maintainer
xaa+[email protected]
Last update
Commit
077027406a
License
As_Is
Categories
print, www
Package size
110.7 KiB, 426.9 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDprint/fpdf1.86,1
DragonFlyprint/fpdf1.86,1
MidnightBSDprint/fpdf1.7,1

Install

Binary package:

pkg install fpdf

From the ports tree:

cd /usr/ports/print/fpdf/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	fpdf>0:print/fpdf

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.86,11.86,11.81,11.86,11.86,1
FreeBSD:14:quarterly1.86,11.86,1n/a1.86,11.86,1
FreeBSD:15:latest1.86,11.86,1n/a1.86,11.86,1
FreeBSD:15:quarterly1.86,11.86,1n/an/an/a
FreeBSD:16:latest1.86,11.86,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Run dependencies 7

No port depends on this one.

Configuration

Options name: print_fpdf

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
dos2unix php tar:tgz
Service scripts
none

Message after installing

You should add the FPDF path /usr/local/share/fpdf
to the "include_path=" directive in your php.ini.

Files

pkg-plist 114
  • share/doc/fpdf/changelog.htm
  • share/doc/fpdf/doc/__construct.htm
  • share/doc/fpdf/doc/acceptpagebreak.htm
  • share/doc/fpdf/doc/addfont.htm
  • share/doc/fpdf/doc/addlink.htm
  • share/doc/fpdf/doc/addpage.htm
  • share/doc/fpdf/doc/aliasnbpages.htm
  • share/doc/fpdf/doc/cell.htm
  • share/doc/fpdf/doc/close.htm
  • share/doc/fpdf/doc/error.htm
  • share/doc/fpdf/doc/footer.htm
  • share/doc/fpdf/doc/getpageheight.htm
  • share/doc/fpdf/doc/getpagewidth.htm
  • share/doc/fpdf/doc/getstringwidth.htm
  • share/doc/fpdf/doc/getx.htm
  • share/doc/fpdf/doc/gety.htm
  • share/doc/fpdf/doc/header.htm
  • share/doc/fpdf/doc/image.htm
  • share/doc/fpdf/doc/index.htm
  • share/doc/fpdf/doc/line.htm
  • share/doc/fpdf/doc/link.htm
  • share/doc/fpdf/doc/ln.htm
  • share/doc/fpdf/doc/multicell.htm
  • share/doc/fpdf/doc/output.htm
  • share/doc/fpdf/doc/pageno.htm
  • share/doc/fpdf/doc/rect.htm
  • share/doc/fpdf/doc/setauthor.htm
  • share/doc/fpdf/doc/setautopagebreak.htm
  • share/doc/fpdf/doc/setcompression.htm
  • share/doc/fpdf/doc/setcreator.htm
  • share/doc/fpdf/doc/setdisplaymode.htm
  • share/doc/fpdf/doc/setdrawcolor.htm
  • share/doc/fpdf/doc/setfillcolor.htm
  • share/doc/fpdf/doc/setfont.htm
  • share/doc/fpdf/doc/setfontsize.htm
  • share/doc/fpdf/doc/setkeywords.htm
  • share/doc/fpdf/doc/setleftmargin.htm
  • share/doc/fpdf/doc/setlinewidth.htm
  • share/doc/fpdf/doc/setlink.htm
  • share/doc/fpdf/doc/setmargins.htm
  • share/doc/fpdf/doc/setrightmargin.htm
  • share/doc/fpdf/doc/setsubject.htm
  • share/doc/fpdf/doc/settextcolor.htm
  • share/doc/fpdf/doc/settitle.htm
  • share/doc/fpdf/doc/settopmargin.htm
  • share/doc/fpdf/doc/setx.htm
  • share/doc/fpdf/doc/setxy.htm
  • share/doc/fpdf/doc/sety.htm
  • share/doc/fpdf/doc/text.htm
  • share/doc/fpdf/doc/write.htm
  • share/doc/fpdf/FAQ.htm
  • share/doc/fpdf/fpdf.css
  • share/doc/fpdf/install.txt
  • share/doc/fpdf/tutorial/20k_c1.txt
  • share/doc/fpdf/tutorial/20k_c2.txt
  • share/doc/fpdf/tutorial/CevicheOne-Regular-Licence.txt
  • share/doc/fpdf/tutorial/CevicheOne-Regular.php
  • share/doc/fpdf/tutorial/CevicheOne-Regular.ttf
  • share/doc/fpdf/tutorial/CevicheOne-Regular.z
  • share/doc/fpdf/tutorial/countries.txt
  • share/doc/fpdf/tutorial/index.htm
  • share/doc/fpdf/tutorial/logo.png
  • share/doc/fpdf/tutorial/makefont.php
  • share/doc/fpdf/tutorial/tuto1.htm
  • share/doc/fpdf/tutorial/tuto1.php
  • share/doc/fpdf/tutorial/tuto2.htm
  • share/doc/fpdf/tutorial/tuto2.php
  • share/doc/fpdf/tutorial/tuto3.htm
  • share/doc/fpdf/tutorial/tuto3.php
  • share/doc/fpdf/tutorial/tuto4.htm
  • share/doc/fpdf/tutorial/tuto4.php
  • share/doc/fpdf/tutorial/tuto5.htm
  • share/doc/fpdf/tutorial/tuto5.php
  • share/doc/fpdf/tutorial/tuto6.htm
  • share/doc/fpdf/tutorial/tuto6.php
  • share/doc/fpdf/tutorial/tuto7.htm
  • share/doc/fpdf/tutorial/tuto7.php
  • %%FPDF_DIR%%/font/courier.php
  • %%FPDF_DIR%%/font/courierb.php
  • %%FPDF_DIR%%/font/courierbi.php
  • %%FPDF_DIR%%/font/courieri.php
  • %%FPDF_DIR%%/font/helvetica.php
  • %%FPDF_DIR%%/font/helveticab.php
  • %%FPDF_DIR%%/font/helveticabi.php
  • %%FPDF_DIR%%/font/helveticai.php
  • %%FPDF_DIR%%/font/symbol.php
  • %%FPDF_DIR%%/font/times.php
  • %%FPDF_DIR%%/font/timesb.php
  • %%FPDF_DIR%%/font/timesbi.php
  • %%FPDF_DIR%%/font/timesi.php
  • %%FPDF_DIR%%/font/zapfdingbats.php
  • %%FPDF_DIR%%/fpdf.php
  • %%FPDF_DIR%%/makefont/cp1250.map
  • %%FPDF_DIR%%/makefont/cp1251.map
  • %%FPDF_DIR%%/makefont/cp1252.map
  • %%FPDF_DIR%%/makefont/cp1253.map
  • %%FPDF_DIR%%/makefont/cp1254.map
  • %%FPDF_DIR%%/makefont/cp1255.map
  • %%FPDF_DIR%%/makefont/cp1257.map
  • %%FPDF_DIR%%/makefont/cp1258.map

The first 100 are listed.

distinfo 1
FileSizeSHA256
fpdf186.tgz118080b27101ab8e16e16e2691aecd7f4089b1040122ba28f76214636c20e00cd7ce2a
Master sites 1
  • http://www.fpdf.org/en/dl.php?v=${DISTVERSION:S|.||}&f=${EXTRACT_SUFX:S|.||}&dummy=/

Commit history 1

DateCommitCreditsLog message
077027406a Mathieu Arnold *: cleanup fetching