debian/0000755000000000000000000000000011624444313007170 5ustar debian/README.Debian0000644000000000000000000000224011052222566011226 0ustar FPDF for Debian --------------- The files belonging to this library are installed under /usr/share/php/fpdf/. As /usr/share/php/ is in the default PHP include path, you can write require('fpdf/fpdf.php') to use this class. Of course, you can also use the full path or adjust the include path if desired. The location /usr/share/fpdf/fpdf.php was used previously and is retained for backward compatibility, but this use is deprecated and will be removed sometime in the future. The file install.txt in this directory contains more detailed information about where FPDF expects to find various files. To try out the examples in the tutorial, you need to copy or symlink the documentation directory to a place where the web server can access it and process the PHP, for example your public_html directory. The tutorial files already contain the corrects paths described above. The original upstream distribution contains a few font files as part of the tutorial. These are not included in the Debian package because their copyright status is unclear. Read tutorial 7 about how to obtain these files and use them. -- Peter Eisentraut , 27 August 2006 debian/compat0000644000000000000000000000000211426256210010363 0ustar 7 debian/README.source0000644000000000000000000000035511426254663011361 0ustar The upstream tarballs contain various font(-related) files tutorial/calligra.* that have to be removed when creating a new source package because their copyright status is doubtful. -- Peter Eisentraut , 11 Sep 2005 debian/rules0000755000000000000000000000220311624424574010254 0ustar #!/usr/bin/make -f include /usr/share/quilt/quilt.make configure: configure-stamp configure-stamp: dh_testdir touch configure-stamp build: patch build-stamp build-stamp: $(QUILT_STAMPFN) configure-stamp dh_testdir touch build-stamp clean: unpatch dh_testdir dh_testroot rm -f build-stamp dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs usr/share/php/fpdf dh_install fpdf.php font/ makefont/ usr/share/php/fpdf/ dh_link usr/share/php/fpdf usr/share/fpdf dh_link usr/share/php/fpdf/fpdf.php usr/share/php/fpdf.php #find tutorial/ -path '*php' -print0 | xargs -0 perl -i -p -e 's/\.\.\/fpdf.php/fpdf.php/' find $(DEB_DESTDIR) -type f -and -perm +111 -print0 | xargs -0ri chmod a-x '{}' binary-arch: binary-indep: build install dh_testdir dh_testroot dh_installdocs dh_installchangelogs changelog.htm dh_installexamples dh_installman dh_compress --exclude=20k_c1.txt --exclude=20k_c2.txt dh_strip dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep build-arch: build build-indep: build .PHONY: build clean binary-indep binary install configure debian/doc-base0000644000000000000000000000067511052222566010577 0ustar Document: php-fpdf Title: FPDF Documentation Author: Olivier Plathey Abstract: This set of documents describes the FPDF package, a library for generating PDF files in PHP. It contains a FAQ, a reference manual, and a tutorial. Section: Web Development Format: HTML Index: /usr/share/doc/php-fpdf/index.htm Files: /usr/share/doc/php-fpdf/fpdf.css /usr/share/doc/php-fpdf/*.htm /usr/share/doc/php-fpdf/doc/* /usr/share/doc/php-fpdf/tutorial/* debian/watch0000644000000000000000000000016411432460643010223 0ustar version=3 opts=dversionmangle=s/\.dfsg$// \ http://www.fpdf.org/en/download.php dl.php\?v=([0-9])([0-9])\&f=tgz debian/docs0000644000000000000000000000007311427542636010053 0ustar doc FAQ.htm fpdf.css install.txt tutorial debian/index.htm debian/control0000644000000000000000000000156211624423655010605 0ustar Source: php-fpdf Section: php Priority: optional Maintainer: Alessandro De Zorzi Build-Depends: debhelper (>= 7), libldap2-dev, libgdbm-dev, po-debconf, quilt Standards-Version: 3.9.2 Homepage: http://www.fpdf.org/ Package: php-fpdf Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, php5 | php5-cli Suggests: ttf2pt1 Description: PHP class to generate PDF files FPDF is a PHP class that allow generating PDF files with pure PHP, that is to say without using the PDFlib library. FPDF provides high-level functions and has the following 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 debian/copyright0000644000000000000000000000115411426256271011130 0ustar This package was debianized by Alessandro De Zorzi on 4 Aug 2010. It was downloaded from . Previous maintainers: * Peter Eisentraut from 2004 to 2008. Copyright: 2001-2008 Olivier Plathey License: Permission is hereby granted, free of charge, to any person obtaining a copy of this software to use, copy, modify, distribute, sublicense, and/or sell copies of the software, and to permit persons to whom the software is furnished to do so. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. debian/postinst0000644000000000000000000000030211052222566010770 0ustar #!/bin/sh -e if [ "$1" = configure ] && [ ! -L /usr/share/fpdf ] && dpkg --compare-versions "$2" lt-nl 1.53.dfsg-3; then rm -rf /usr/share/fpdf ln -s php/fpdf /usr/share/fpdf fi #DEBHELPER# debian/index.htm0000644000000000000000000000075611052222566011020 0ustar FPDF Documentation

FPDF Documentation

Documentation included in this set:

debian/source/0000755000000000000000000000000011615260535010472 5ustar debian/source/format0000644000000000000000000000001411427463127011703 0ustar 3.0 (quilt) debian/ChangeLog0000644000000000000000000000231311432204275010737 0ustar 2010-08-16 09:22 adezorzi * changelog: update after upload 2010-08-12 09:22 adezorzi * control: fixed php-fpdf override disparity 2010-08-09 09:12 adezorzi * changelog, control: read it 2010-08-09 08:58 adezorzi * changelog, rules: migliorie 2010-08-09 08:41 adezorzi * rules: dh_compress al punto giusto in sequenza 2010-08-08 15:18 adezorzi * rules: aggiunta histo.htm 2010-08-08 14:56 adezorzi * docs, rules: migliorie 2010-08-08 09:23 adezorzi * patches/series: remove files 2010-08-08 08:10 adezorzi * source/format: ini 2010-08-08 08:09 adezorzi * source: ini empty dir 2010-08-08 08:07 adezorzi * watch: initial 2010-08-08 08:04 adezorzi * changelog: read it 2010-08-04 12:29 adezorzi * README.Debian, README.source, compat, copyright, doc-base, docs, index.htm, patches, patches/series, patches/tutorial.patch, postinst, rules: file iniziali 2010-08-04 12:23 adezorzi * control: control upgrade to standard version 3.9.0 e aggiustamenti depends 2010-08-04 12:23 adezorzi * changelog: last version of changelog after upgrade http://ftp.de.debian.org/debian/pool/main/p/php-fpdf/php-fpdf_1.53.dfsg-6.1.dsc 2010-08-04 12:18 adezorzi * .: new dir debian/changelog0000644000000000000000000000673211615262161011051 0ustar php-fpdf (3:1.7.dfsg-1) unstable; urgency=low * New upstream release * Standards-Version: 3.9.2 (no changes needed) * Removed debian/watch file (upstream version release is a bit complex) -- Alessandro De Zorzi Sun, 31 Jul 2011 14:39:10 +0200 php-fpdf (3:1.6.dfsg-1) unstable; urgency=low * New upstream release (Closes: #471822) * Provided simple include path (Closes: #514988) * Switch to dpkg-source 3.0 (quilt) format * Bump standard version to 3.9.1 -- Alessandro De Zorzi Wed, 04 Aug 2010 14:31:13 +0200 php-fpdf (2:1.53.dfsg-6.1) unstable; urgency=low * Non-maintainer upload. * Restored the old unstable version, as asked by the maintainer. -- Fabio Tranchitella Tue, 19 Aug 2008 13:23:02 +0200 php-fpdf (1:1.6.dfsg-1) unstable; urgency=low * New upstream release (Closes: #471822) * Update copyright as described in new license.txt file * Removed fpdf.patch because class_exists() call removed in 1.6 version by upstream author * Updated tutorial.patch * Removed tuto7.php demo according with debian/README.source (calligra font not available in dfsg tarball) * Added php4 dependencies -- Alessandro De Zorzi Mon, 18 Aug 2008 10:41:12 +0200 php-fpdf (1.53.dfsg-6) unstable; urgency=low * Fixed/updated doc-base section * Updated standards version * Added Homepage control field * Dropped php4 dependencies * Switched to quilt * Renamed README.maintainer to now standardized name README.source -- Peter Eisentraut Wed, 09 Jul 2008 13:42:09 +0200 php-fpdf (1.53.dfsg-5) unstable; urgency=low * Acknowledge NMU (closes: #388711, #390641) * Use simple-patchsys for patches * Updated to Debhelper level 5 -- Peter Eisentraut Wed, 11 Oct 2006 04:18:50 +0200 php-fpdf (1.53.dfsg-4.1) unstable; urgency=medium * Non-maintainer upload. * Remove the class_exists() call -- the solution in 1.53.dfsg-4 breaks with PHP < 5.x, and it's not especially useful in the first place. (Closes: #388711) -- Steinar H. Gunderson Sun, 1 Oct 2006 20:50:17 +0200 php-fpdf (1.53.dfsg-4) unstable; urgency=medium * Disable recursive autoloading of the FPDF class (closes: #385430) -- Peter Eisentraut Fri, 15 Sep 2006 12:47:27 +0200 php-fpdf (1.53.dfsg-3) unstable; urgency=low * Sorted out Build-Depends vs. Build-Depends-Indep * Updated standards version * Moved everything to /usr/share/php/fpdf/ (closes: #329749) * Improved watch file -- Peter Eisentraut Sun, 27 Aug 2006 12:08:19 +0200 php-fpdf (1.53.dfsg-2) unstable; urgency=low * Changed maintainer address * Updated standards version * Converted to CDBS * Changed watch file to version 3 format * Added PHP 5 dependency alternatives -- Peter Eisentraut Sun, 11 Sep 2005 00:02:08 +0200 php-fpdf (1.53.dfsg-1) unstable; urgency=low * New upstream release * Added ".dfsg" to version name to make explicit that this is not the original upstream tarball * Updated watch file * Corrected the paths in the tutorial to fit our installation layout; adjusted README.Debian accordingly * Added php4-cli as alternative dependency -- Peter Eisentraut Tue, 22 Mar 2005 23:55:32 +0100 php-fpdf (1.52-1) unstable; urgency=low * Initial release (closes: #265113) -- Peter Eisentraut Thu, 12 Aug 2004 12:00:00 +0200 debian/patches/0000755000000000000000000000000011615263254010622 5ustar debian/patches/series0000644000000000000000000000001711615263254012035 0ustar tutorial.patch debian/patches/tutorial.patch0000644000000000000000000001501211615263102013475 0ustar diff -u php-fpdf-1.7.dfsg/tutorial//tuto1.htm tutorial.new//tuto1.htm --- php-fpdf-1.7.dfsg/tutorial//tuto1.htm 2011-06-18 15:41:49.000000000 +0200 +++ tutorial.new//tuto1.htm 2011-07-31 16:05:20.000000000 +0200 @@ -10,7 +10,7 @@ Let's start with the classic example:
<?php
-require('fpdf.php');
+require('fpdf/fpdf.php');
 
 $pdf = new FPDF();
 $pdf->AddPage();
diff -u php-fpdf-1.7.dfsg/tutorial//tuto1.php tutorial.new//tuto1.php
--- php-fpdf-1.7.dfsg/tutorial//tuto1.php	2011-06-18 15:41:49.000000000 +0200
+++ tutorial.new//tuto1.php	2011-07-31 16:03:53.000000000 +0200
@@ -1,5 +1,5 @@
 AddPage();
diff -u php-fpdf-1.7.dfsg/tutorial//tuto2.htm tutorial.new//tuto2.htm
--- php-fpdf-1.7.dfsg/tutorial//tuto2.htm	2011-06-18 15:41:49.000000000 +0200
+++ tutorial.new//tuto2.htm	2011-07-31 16:05:15.000000000 +0200
@@ -10,7 +10,7 @@
 Here's a two page example with header, footer and logo:
 
<?php
-require('fpdf.php');
+require('fpdf/fpdf.php');
 
 class PDF extends FPDF
 {
diff -u php-fpdf-1.7.dfsg/tutorial//tuto2.php tutorial.new//tuto2.php
--- php-fpdf-1.7.dfsg/tutorial//tuto2.php	2011-06-18 15:41:49.000000000 +0200
+++ tutorial.new//tuto2.php	2011-07-31 16:03:58.000000000 +0200
@@ -1,5 +1,5 @@
 
 
<?php
-require('fpdf.php');
+require('fpdf/fpdf.php');
 
 class PDF extends FPDF
 {
diff -u php-fpdf-1.7.dfsg/tutorial//tuto3.php tutorial.new//tuto3.php
--- php-fpdf-1.7.dfsg/tutorial//tuto3.php	2011-06-18 15:41:49.000000000 +0200
+++ tutorial.new//tuto3.php	2011-07-31 16:04:04.000000000 +0200
@@ -1,5 +1,5 @@
 
 
<?php
-require('fpdf.php');
+require('fpdf/fpdf.php');
 
 class PDF extends FPDF
 {
diff -u php-fpdf-1.7.dfsg/tutorial//tuto4.php tutorial.new//tuto4.php
--- php-fpdf-1.7.dfsg/tutorial//tuto4.php	2011-06-18 15:41:49.000000000 +0200
+++ tutorial.new//tuto4.php	2011-07-31 16:04:09.000000000 +0200
@@ -1,5 +1,5 @@
 
 
<?php
-require('fpdf.php');
+require('fpdf/fpdf.php');
 
 class PDF extends FPDF
 {
diff -u php-fpdf-1.7.dfsg/tutorial//tuto5.php tutorial.new//tuto5.php
--- php-fpdf-1.7.dfsg/tutorial//tuto5.php	2011-06-18 15:41:49.000000000 +0200
+++ tutorial.new//tuto5.php	2011-07-31 16:04:15.000000000 +0200
@@ -1,5 +1,5 @@
 
 
<?php
-require('fpdf.php');
+require('fpdf/fpdf.php');
 
 class PDF extends FPDF
 {
diff -u php-fpdf-1.7.dfsg/tutorial//tuto6.php tutorial.new//tuto6.php
--- php-fpdf-1.7.dfsg/tutorial//tuto6.php	2011-06-18 15:41:49.000000000 +0200
+++ tutorial.new//tuto6.php	2011-07-31 16:04:20.000000000 +0200
@@ -1,5 +1,5 @@
 
 
<?php
-require('fpdf.php');
+require('fpdf/fpdf.php');
 
 $pdf = new FPDF();
 $pdf->AddFont('Calligrapher','','calligra.php');
@@ -184,7 +184,6 @@
 $pdf->Output();
 ?>
-

[Demo]

About the euro symbol

The euro character is not present in all encodings, and is not always placed at the same position: