diff --git a/include/tcpdf_fonts.php b/include/tcpdf_fonts.php index fbe7009c..b7234d09 100644 --- a/include/tcpdf_fonts.php +++ b/include/tcpdf_fonts.php @@ -45,6 +45,12 @@ * @version 1.1.1 * @author Nicola Asuni - info@tecnick.com */ + +// Suppress warning about casting on armhf +set_error_handler(function($errno, $errstr) { + return strpos($errstr, 'is not representable as an int') !== false; +}, E_WARNING); + class TCPDF_FONTS { /**