Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Convert Font Cache from PHP to JSON Files #935
This PR standardised the font cache. Instead of crudely generating PHP files with font data, it stores the information in JSON files.
JSON cache files has a number of benefits:
I tested this PR against the Mpdf Example folder and found no visual regressions.
Average (5 runs) for all Mpdf Example Templates using the CLI:
Average (5 runs) for Example 61 in the browser with OPCache Enabled: