i\'m trying to convert some html to pdf. After some google search i find dompdf but when i try to convert i retrieve
PHP-font-lib must either be installed
Another trick, to avoid the change of automated downloaded files from Composer, is define the DOMPDF_ENABLE_AUTOLOAD and after reload the config file:
// Disable DOMPDF's internal autoloader if you are using Composer
define('DOMPDF_ENABLE_AUTOLOAD', false);
require_once CONFIG_DIR . 'vendor/dompdf/dompdf/dompdf_config.inc.php';
$dompdf = new \DOMPDF;