I am trying to run:
php load_font.php montserrat ./Montserrat-Bold.otf
(as per described here: Custom Fonts for DOMPDF)
But it results in the following error:
Warning: require_once(/Applications/MAMP/htdocs/project/wp-content/themes/project/vendor/dompdf/dompdf/lib/php-font-lib/classes/Font.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/project/wp-content/themes/project/vendor/dompdf/dompdf/dompdf_config.inc.php on line 332
Fatal error: require_once(): Failed opening required '/Applications/MAMP/htdocs/project/wp-content/themes/project/vendor/dompdf/dompdf/lib/php-font-lib/classes/Font.php' (include_path='.:/Applications/MAMP/bin/php/php5.5.14/lib/php') in /Applications/MAMP/htdocs/project/wp-content/themes/project/vendor/dompdf/dompdf/dompdf_config.inc.php on line 332
Why??