Anything I can do to make this go away?
DOMPDF 0.6.0 caches a PHP-ized version of the font metrics to speed up
font processing. By default it stores these files in the dompdf/lib/
fonts folder. If the web server doesn't have write access to this
folder then that particular error will be encountered. If you don't
want to give the web server write access to that particular folder you
can specify a different folder by modifying the value of
DOMPDF_FONT_CACHE in you dompdf_config.inc.php.
I think for the final release we'll add a check to make sure the font
cache file can be written.
Hmm, well, I set the write access on the whole folder, hopefully
that'll fix it then. It just seems strange that it worked for some
people and not others.
it would be nice if there was a warning or a "is everything set
correctly" page that could be included.
Seems like something simple like:
<?
include("dompdf_config.inc.php");
if(is_writable(DOMPDF_FONT_DIR)){
echo "Passed = Font directory is writable";
} else {
echo "Failed = Font directory is not writable";
}
?>
would work.
Thanks for the help.