0
Warning: include(font/helvetica.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\php\PEAR\fpdf.php on line 541

Warning: include() [function.include]: Failed opening 'font/helvetica.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\php\PEAR\fpdf.php on line 541
FPDF error: Could not include font metric file

请帮忙。

4

1 回答 1

2

您可能需要在其中一个 php 文件中进行配置 - 我记得模糊地遇到了这个问题。有一个带有字体文件夹路径的 CONSTANT 变量。在主 php 文件中检查它。

或者您可以创建该目录并将字体复制到该目录中。

于 2012-05-16T21:37:32.907 回答