adapt for php 7.0

This commit is contained in:
Dany De Bontridder 2016-11-25 21:27:46 +01:00
parent d405422c15
commit d01b5eea04

View file

@ -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)
}