Skip to content

Commit

Permalink
Fix PHP 8.2 compatibility for TTFontFile (#39)
Browse files Browse the repository at this point in the history
Fix `ErrorException: Creation of dynamic property tFPDF\TTFontFile::$TTCFonts is deprecated`
  • Loading branch information
kylekatarnls authored Jun 26, 2023
1 parent e2809ce commit 5872652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tFPDF/TTFontFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class TTFontFile
private $charWidths;
private $defaultWidth;
private $maxStrLenRead;
private $TTCFonts;

public function __construct()
{
Expand Down

0 comments on commit 5872652

Please sign in to comment.