From d01b5eea0441d5d57d8a30e60ec0c9b194cfdbf8 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 25 Nov 2016 21:27:46 +0100 Subject: [PATCH] adapt for php 7.0 --- include/tfpdf/font/unifont/ttfonts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tfpdf/font/unifont/ttfonts.php b/include/tfpdf/font/unifont/ttfonts.php index a9db5fbe8..7485e5109 100644 --- a/include/tfpdf/font/unifont/ttfonts.php +++ b/include/tfpdf/font/unifont/ttfonts.php @@ -69,7 +69,7 @@ var $charWidths; var $defaultWidth; var $maxStrLenRead; - function TTFontFile() { + function __construct() { $this->maxStrLenRead = 200000; // Maximum size of glyf table to read in as string (otherwise reads each glyph from file) }