Releases: fawno/FPDF-mirror
Releases · fawno/FPDF-mirror
v1.9 (2026-05-31)
- PHP 5.3.0 or higher is now required.
- Font definition files have switched to JSON format. The old PHP format is still supported but is now deprecated.
- Image() now supports the WebP format (requires GD).
- Removed a deprecation notice on PHP 8.5.
v1.86 (2023-06-25)
- Added a parameter to AddFont() to specify the directory where to load the font definition file.
- Fixed a bug related to the PDF creation date.
v1.85 (2022-11-10)
- Removed deprecation notices on PHP 8.2.
- Removed notices when passing null values instead of strings.
- The FPDF_VERSION constant was replaced by a class constant.
- The creation date of the PDF now includes the timezone.
- The content-type is now always application/pdf, even for downloads.
v1.84 (2021-08-28)
- Fixed an issue related to annotations.
v1.83 (2021-04-18)
- Fixed an issue related to annotations.
v1.82 (2019-12-07)
- Removed a deprecation notice on PHP 7.4.
v1.81 (2015-12-20)
- 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.
- Alpha channel is now supported for PNGs.
- When inserting an image, it's now possible to specify its resolution.
- Default resolution for images was increased from 72 to 96 dpi.
- When inserting a GIF image, no temporary file is used anymore if the PHP version is 5.1 or higher.
- 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).
- Symbol and ZapfDingbats fonts now support underline style.
- Custom page sizes are now checked to ensure that width is smaller than height.
- Standard font files were changed to use the same format as user fonts.
- A bug in the embedding of Type1 fonts was fixed.
- A bug related to SetDisplayMode() and the current locale was fixed.
- A display issue occurring with the Adobe Reader X plug-in was fixed.
- An issue related to transparency with some versions of Adobe Reader was fixed.
- The Content-Length header was removed because it caused an issue when the HTTP server applies compression.
v1.6 (2008-08-03)
- PHP 4.3.10 or higher is now required.
- GIF image support.
- Images can now trigger page breaks.
- Possibility to have different page formats in a single document.
- Document properties (author, creator, keywords, subject and title) can now be specified in UTF-8.
- Fixed a bug: when a PNG was inserted through a URL, an error sometimes occurred.
- An automatic page break in Header() doesn't cause an infinite loop any more.
- Removed some warning messages appearing with recent PHP versions.
- Added HTTP headers to reduce problems with IE.