Get it running for dompdf and mpdf