+- Added GetPageWidth() and GetPageHeight().
+- Fixed a bug in SetXY().
+
+
v1.8 (2015-11-29)
+
+- PHP 5.1.0 or higher is now required.
+- The MakeFont utility now subsets fonts, which can greatly reduce font sizes.
+- Added ToUnicode CMaps to improve text extraction.
+- Added a parameter to AddPage() to rotate the page.
+- Added a parameter to SetY() to indicate whether the x position should be reset or not.
+- Added a parameter to Output() to specify the encoding of the name, and special characters are now properly encoded. Additionally the order of the first two parameters was reversed to be more logical (however the old order is still supported for compatibility).
+- The Error() method now throws an exception.
+- Adding contents before the first AddPage() or after Close() now raises an error.
+- Outputting text with no font selected now raises an error.
+
v1.7 (2011-06-18)
- The MakeFont utility has been completely rewritten and doesn't depend on ttf2pt1 anymore.
@@ -65,7 +82,7 @@
- Type1 font support.
- Added Baltic encoding.
-- The class now works internally in points with the origin at the bottom in order to avoid two bugs occurring with Acrobat 5 : * The line thickness was too large when printed under Windows 98 SE and ME. * TrueType fonts didn't appear immediately inside the plug-in (a substitution font was used), one had to cause a window refresh to make them show up.
+- The class now works internally in points with the origin at the bottom in order to avoid two bugs occurring with Acrobat 5: * The line thickness was too large when printed under Windows 98 SE and ME. * TrueType fonts didn't appear immediately inside the plug-in (a substitution font was used), one had to cause a window refresh to make them show up.
- It's no longer necessary to set the decimal separator as dot to produce valid documents.
- The clickable area in a cell was always on the left independently from the text alignment.
- JPEG images in CMYK mode appeared in inverted colors.
diff -Nru php-fpdf-1.7.dfsg/debian/changelog php-fpdf-1.8.1.dfsg/debian/changelog
--- php-fpdf-1.7.dfsg/debian/changelog 2016-03-28 22:00:43.000000000 +0000
+++ php-fpdf-1.8.1.dfsg/debian/changelog 2016-05-27 10:14:40.000000000 +0000
@@ -1,8 +1,15 @@
-php-fpdf (3:1.7.dfsg-1.1ubuntu1) xenial; urgency=medium
+php-fpdf (3:1.8.1.dfsg-2) unstable; urgency=medium
- * Update to PHP7.0 dependencies (LP: #1563061).
+ * PHP 7.0 Transition Fix (Closes: #821574)
- -- Nishanth Aravamudan Mon, 28 Mar 2016 14:30:59 -0700
+ -- Alessandro De Zorzi Fri, 27 May 2016 12:13:56 +0200
+
+php-fpdf (3:1.8.1.dfsg-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #811486)
+ * Bump standard version to 3.9.6
+
+ -- Alessandro De Zorzi Tue, 19 Jan 2016 14:00:07 +0100
php-fpdf (3:1.7.dfsg-1.1) unstable; urgency=medium
diff -Nru php-fpdf-1.7.dfsg/debian/ChangeLog php-fpdf-1.8.1.dfsg/debian/ChangeLog
--- php-fpdf-1.7.dfsg/debian/ChangeLog 2010-08-16 09:45:33.000000000 +0000
+++ php-fpdf-1.8.1.dfsg/debian/ChangeLog 1970-01-01 00:00:00.000000000 +0000
@@ -1,68 +0,0 @@
-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
-
diff -Nru php-fpdf-1.7.dfsg/debian/control php-fpdf-1.8.1.dfsg/debian/control
--- php-fpdf-1.7.dfsg/debian/control 2016-03-28 22:00:43.000000000 +0000
+++ php-fpdf-1.8.1.dfsg/debian/control 2016-05-27 10:16:07.000000000 +0000
@@ -1,10 +1,9 @@
Source: php-fpdf
Section: php
Priority: optional
-Maintainer: Ubuntu Developers
-XSBC-Original-Maintainer: Alessandro De Zorzi
+Maintainer: Alessandro De Zorzi
Build-Depends: debhelper (>= 7), libldap2-dev, libgdbm-dev, po-debconf, quilt
-Standards-Version: 3.9.2
+Standards-Version: 3.9.6
Homepage: http://www.fpdf.org/
Package: php-fpdf
diff -Nru php-fpdf-1.7.dfsg/debian/copyright php-fpdf-1.8.1.dfsg/debian/copyright
--- php-fpdf-1.7.dfsg/debian/copyright 2010-08-04 12:27:37.000000000 +0000
+++ php-fpdf-1.8.1.dfsg/debian/copyright 2016-03-05 15:53:16.000000000 +0000
@@ -1,21 +1,36 @@
-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.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FPDF
+Source: http://www.fpdf.org/
+
+Files: *
+Copyright: Copyright 2016 Olivier Plathey <8973aca5d7fe7c864043ba17456b9d5a-op392@contact.gandi.net>
+License: permissive
+ 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.
+
+Files: debian/*
+Copyright: Copyright 2016 Alessandro De Zorzi
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff -Nru php-fpdf-1.7.dfsg/debian/patches/series php-fpdf-1.8.1.dfsg/debian/patches/series
--- php-fpdf-1.7.dfsg/debian/patches/series 2011-07-31 14:29:00.000000000 +0000
+++ php-fpdf-1.8.1.dfsg/debian/patches/series 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-tutorial.patch
diff -Nru php-fpdf-1.7.dfsg/debian/patches/tutorial.patch php-fpdf-1.8.1.dfsg/debian/patches/tutorial.patch
--- php-fpdf-1.7.dfsg/debian/patches/tutorial.patch 2011-07-31 14:27:14.000000000 +0000
+++ php-fpdf-1.8.1.dfsg/debian/patches/tutorial.patch 1970-01-01 00:00:00.000000000 +0000
@@ -1,152 +0,0 @@
-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:
-
Adds a new page to the document. If a page is already present, the Footer() method is called
first to output the footer. Then the page is added, the current position set to the top-left
@@ -44,12 +44,17 @@
The default value is the one passed to the constructor.
+
rotation
+
+Angle by which to rotate the page. It must be a multiple of 90; positive values
+mean clockwise rotation. The default value is 0.
+
+__construct([string orientation [, string unit [, mixed size]]])
+
Description
+This is the class constructor. It allows to set up the page size, the orientation and the
+unit of measure used in all methods (except for font sizes).
+
Parameters
+
+
orientation
+
+Default page orientation. Possible values are (case insensitive):
+
+
P or Portrait
+
L or Landscape
+
+Default value is P.
+
+
unit
+
+User unit. Possible values are:
+
+
pt: point
+
mm: millimeter
+
cm: centimeter
+
in: inch
+
+A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This
+is a very common unit in typography; font sizes are expressed in that unit.
+
+
+Default value is mm.
+
+
size
+
+The size used for pages. It can be either one of the following values (case insensitive):
+
+
A3
+
A4
+
A5
+
Letter
+
Legal
+
+or an array containing the width and the height (expressed in the unit given by unit).
+
+Default value is A4.
+
diff -Nru php-fpdf-1.7.dfsg/doc/addlink.htm php-fpdf-1.8.1.dfsg/doc/addlink.htm
--- php-fpdf-1.7.dfsg/doc/addlink.htm 2011-06-18 12:43:31.000000000 +0000
+++ php-fpdf-1.8.1.dfsg/doc/addlink.htm 2015-12-20 09:39:19.000000000 +0000
@@ -15,11 +15,11 @@
The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is
defined with SetLink().
diff -Nru php-fpdf-1.7.dfsg/doc/close.htm php-fpdf-1.8.1.dfsg/doc/close.htm
--- php-fpdf-1.7.dfsg/doc/close.htm 2011-06-18 12:43:31.000000000 +0000
+++ php-fpdf-1.8.1.dfsg/doc/close.htm 2015-12-20 09:39:19.000000000 +0000
@@ -14,7 +14,7 @@
If the document contains no page, AddPage() is called to prevent from getting an invalid document.