dompdf icon indicating copy to clipboard operation
dompdf copied to clipboard

empty dir php-font-lib

Open permanyer opened this issue 11 years ago • 1 comments

ISSUE: I downloaded dompdf zip and it did not work.

CAUSE: That was because php-font-lib folder was empty. (see file dompdf_config.inc.php line 332: require_once(DOMPDF_LIB_DIR . "/php-font-lib/classes/Font.php");)

WORKAROUND: So I went to https://github.com/PhenX/php-font-lib and downloaded the project, then extracted its src/Fontlib folder to my empty php-font-lib directory and renamed it to 'classes'. Now it works

permanyer avatar Feb 13 '15 10:02 permanyer

This is a commonly-reported issue. You downloaded a ZIP of the code repository instead of the the actual release. I you visit the releases page you want to click on the link that indicates the version (e.g. dompdf-0.6.1.zip) instead of the link that says "source code."

bsweeney avatar Feb 14 '15 00:02 bsweeney