blob: 1c111fae7227d591078cd0503f4c24ab58710e6e [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>Changelog</title>
6<link type="text/css" rel="stylesheet" href="fpdf.css">
7<style type="text/css">
8dd {margin:1em 0 1em 1em}
9</style>
10</head>
11<body>
12<h1>Changelog</h1>
13<dl>
14<dt><strong>v1.86</strong> (2023-06-25)</dt>
15<dd>
16- Added a parameter to AddFont() to specify the directory where to load the font definition file.<br>
17- Fixed a bug related to the PDF creation date.<br>
18</dd>
19<dt><strong>v1.85</strong> (2022-11-10)</dt>
20<dd>
21- Removed deprecation notices on PHP 8.2.<br>
22- Removed notices when passing null values instead of strings.<br>
23- The FPDF_VERSION constant was replaced by a class constant.<br>
24- The creation date of the PDF now includes the timezone.<br>
25- The content-type is now always application/pdf, even for downloads.<br>
26</dd>
27<dt><strong>v1.84</strong> (2021-08-28)</dt>
28<dd>
29- Fixed an issue related to annotations.<br>
30</dd>
31<dt><strong>v1.83</strong> (2021-04-18)</dt>
32<dd>
33- Fixed an issue related to annotations.<br>
34</dd>
35<dt><strong>v1.82</strong> (2019-12-07)</dt>
36<dd>
37- Removed a deprecation notice on PHP 7.4.<br>
38</dd>
39<dt><strong>v1.81</strong> (2015-12-20)</dt>
40<dd>
41- Added GetPageWidth() and GetPageHeight().<br>
42- Fixed a bug in SetXY().<br>
43</dd>
44<dt><strong>v1.8</strong> (2015-11-29)</dt>
45<dd>
46- PHP 5.1.0 or higher is now required.<br>
47- The MakeFont utility now subsets fonts, which can greatly reduce font sizes.<br>
48- Added ToUnicode CMaps to improve text extraction.<br>
49- Added a parameter to AddPage() to rotate the page.<br>
50- Added a parameter to SetY() to indicate whether the x position should be reset or not.<br>
51- 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).<br>
52- The Error() method now throws an exception.<br>
53- Adding contents before the first AddPage() or after Close() now raises an error.<br>
54- Outputting text with no font selected now raises an error.<br>
55</dd>
56<dt><strong>v1.7</strong> (2011-06-18)</dt>
57<dd>
58- The MakeFont utility has been completely rewritten and doesn't depend on ttf2pt1 anymore.<br>
59- Alpha channel is now supported for PNGs.<br>
60- When inserting an image, it's now possible to specify its resolution.<br>
61- Default resolution for images was increased from 72 to 96 dpi.<br>
62- When inserting a GIF image, no temporary file is used anymore if the PHP version is 5.1 or higher.<br>
63- When output buffering is enabled and the PDF is about to be sent, the buffer is now cleared if it contains only a UTF-8 BOM and/or whitespace (instead of throwing an error).<br>
64- Symbol and ZapfDingbats fonts now support underline style.<br>
65- Custom page sizes are now checked to ensure that width is smaller than height.<br>
66- Standard font files were changed to use the same format as user fonts.<br>
67- A bug in the embedding of Type1 fonts was fixed.<br>
68- A bug related to SetDisplayMode() and the current locale was fixed.<br>
69- A display issue occurring with the Adobe Reader X plug-in was fixed.<br>
70- An issue related to transparency with some versions of Adobe Reader was fixed.<br>
71- The Content-Length header was removed because it caused an issue when the HTTP server applies compression.<br>
72</dd>
73<dt><strong>v1.6</strong> (2008-08-03)</dt>
74<dd>
75- PHP 4.3.10 or higher is now required.<br>
76- GIF image support.<br>
77- Images can now trigger page breaks.<br>
78- Possibility to have different page formats in a single document.<br>
79- Document properties (author, creator, keywords, subject and title) can now be specified in UTF-8.<br>
80- Fixed a bug: when a PNG was inserted through a URL, an error sometimes occurred.<br>
81- An automatic page break in Header() doesn't cause an infinite loop any more.<br>
82- Removed some warning messages appearing with recent PHP versions.<br>
83- Added HTTP headers to reduce problems with IE.<br>
84</dd>
85<dt><strong>v1.53</strong> (2004-12-31)</dt>
86<dd>
87- When the font subdirectory is in the same directory as fpdf.php, it's no longer necessary to define the FPDF_FONTPATH constant.<br>
88- The array $HTTP_SERVER_VARS is no longer used. It could cause trouble on PHP5-based configurations with the register_long_arrays option disabled.<br>
89- Fixed a problem related to Type1 font embedding which caused trouble to some PDF processors.<br>
90- The file name sent to the browser could not contain a space character.<br>
91- The Cell() method could not print the number 0 (you had to pass the string '0').<br>
92</dd>
93<dt><strong>v1.52</strong> (2003-12-30)</dt>
94<dd>
95- Image() now displays the image at 72 dpi if no dimension is given.<br>
96- Output() takes a string as second parameter to indicate destination.<br>
97- Open() is now called automatically by AddPage().<br>
98- Inserting remote JPEG images doesn't generate an error any longer.<br>
99- Decimal separator is forced to dot in the constructor.<br>
100- Added several encodings (Turkish, Thai, Hebrew, Ukrainian and Vietnamese).<br>
101- The last line of a right-aligned MultiCell() was not correctly aligned if it was terminated by a carriage return.<br>
102- No more error message about already sent headers when outputting the PDF to the standard output from the command line.<br>
103- The underlining was going too far for text containing characters \, ( or ).<br>
104- $HTTP_ENV_VARS has been replaced by $HTTP_SERVER_VARS.<br>
105</dd>
106<dt><strong>v1.51</strong> (2002-08-03)</dt>
107<dd>
108- Type1 font support.<br>
109- Added Baltic encoding.<br>
110- The class now works internally in points with the origin at the bottom in order to avoid two bugs occurring with Acrobat 5:<br>&nbsp;&nbsp;* The line thickness was too large when printed on Windows 98 SE and ME.<br>&nbsp;&nbsp;* 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.<br>
111- It's no longer necessary to set the decimal separator as dot to produce valid documents.<br>
112- The clickable area in a cell was always on the left independently from the text alignment.<br>
113- JPEG images in CMYK mode appeared in inverted colors.<br>
114- Transparent PNG images in grayscale or true color mode were incorrectly handled.<br>
115- Adding new fonts now works correctly even with the magic_quotes_runtime option set to on.<br>
116</dd>
117<dt><strong>v1.5</strong> (2002-05-28)</dt>
118<dd>
119- TrueType font (AddFont()) and encoding support (Western and Eastern Europe, Cyrillic and Greek).<br>
120- Added Write() method.<br>
121- Added underlined style.<br>
122- Internal and external link support (AddLink(), SetLink(), Link()).<br>
123- Added right margin management and methods SetRightMargin(), SetTopMargin().<br>
124- Modification of SetDisplayMode() to select page layout.<br>
125- The border parameter of MultiCell() now lets choose borders to draw as Cell().<br>
126- When a document contains no page, Close() now calls AddPage() instead of causing a fatal error.<br>
127</dd>
128<dt><strong>v1.41</strong> (2002-03-13)</dt>
129<dd>
130- Fixed SetDisplayMode() which no longer worked (the PDF viewer used its default display).<br>
131</dd>
132<dt><strong>v1.4</strong> (2002-03-02)</dt>
133<dd>
134- PHP3 is no longer supported.<br>
135- Page compression (SetCompression()).<br>
136- Choice of page format and possibility to change orientation inside document.<br>
137- Added AcceptPageBreak() method.<br>
138- Ability to print the total number of pages (AliasNbPages()).<br>
139- Choice of cell borders to draw.<br>
140- New mode for Cell(): the current position can now move under the cell.<br>
141- Ability to include an image by specifying height only (width is calculated automatically).<br>
142- Fixed a bug: when a justified line triggered a page break, the footer inherited the corresponding word spacing.<br>
143</dd>
144<dt><strong>v1.31</strong> (2002-01-12)</dt>
145<dd>
146- Fixed a bug in drawing frame with MultiCell(): the last line always started from the left margin.<br>
147- Removed Expires HTTP header (gives trouble in some situations).<br>
148- Added Content-disposition HTTP header (seems to help in some situations).<br>
149</dd>
150<dt><strong>v1.3</strong> (2001-12-03)</dt>
151<dd>
152- Line break and text justification support (MultiCell()).<br>
153- Color support (SetDrawColor(), SetFillColor(), SetTextColor()). Possibility to draw filled rectangles and paint cell background.<br>
154- A cell whose width is declared null extends up to the right margin of the page.<br>
155- Line width is now retained from page to page and defaults to 0.2 mm.<br>
156- Added SetXY() method.<br>
157- Fixed a passing by reference done in a deprecated manner for PHP4.<br>
158</dd>
159<dt><strong>v1.2</strong> (2001-11-11)</dt>
160<dd>
161- Added font metric files and GetStringWidth() method.<br>
162- Centering and right-aligning text in cells.<br>
163- Display mode control (SetDisplayMode()).<br>
164- Added methods to set document properties (SetAuthor(), SetCreator(), SetKeywords(), SetSubject(), SetTitle()).<br>
165- Possibility to force PDF download by browser.<br>
166- Added SetX() and GetX() methods.<br>
167- During automatic page break, current abscissa is now retained.<br>
168</dd>
169<dt><strong>v1.11</strong> (2001-10-20)</dt>
170<dd>
171- PNG support doesn't require PHP4/zlib any more. Data are now put directly into PDF without any decompression/recompression stage.<br>
172- Image insertion now works correctly even with magic_quotes_runtime option set to on.<br>
173</dd>
174<dt><strong>v1.1</strong> (2001-10-07)</dt>
175<dd>
176- JPEG and PNG image support.<br>
177</dd>
178<dt><strong>v1.01</strong> (2001-10-03)</dt>
179<dd>
180- Fixed a bug involving page break: in case when Header() doesn't specify a font, the one from previous page was not restored and produced an incorrect document.<br>
181</dd>
182<dt><strong>v1.0</strong> (2001-09-17)</dt>
183<dd>
184- First version.<br>
185</dd>
186</dl>
187</body>
188</html>