Skip to content

Latest commit

 

History

History
79 lines (53 loc) · 2.08 KB

changelog.md

File metadata and controls

79 lines (53 loc) · 2.08 KB

Change Log

All notable changes to this project will be documented in this file.

Changed

  • Change BeginPage() visibility

Fixed

  • Fix PHP 8.2 compatibility for TTFontFile

Changed

  • Change PutPages() method visibility from private to protected

Fixed

  • Using 0-255 grayscale scale, instead 0-100, which was changed since 2.2.0

Fixed

  • SetDrawColor would set the fill colour instead.

Added

  • GetPageWidth and GetPageHeight methods

Changed

  • Updates to SetTextColor, SetFillColor and SetDrawColor to support CMYK and (correctly) grayscale

Changed

  • Improved PHPDocs across the files

Added

  • Password protected PDF generation possible when using ProtectedPDF class

Fixes

  • PHPDoc fixes

Fixes

  • Fixed unit test failing when using the default unifont files
  • Font descriptor data was not utilised properly

Changed

  • New parameter added to MultiCell - which allows you to limit the number of lines the MultiCell should use at most. If the parameter is passed the Multicell will return a string with the remaining text, which did not fit.

Fixes

  • "U" style did not actually underline the text.