dourao1877 2014-11-21 09:35
浏览 59

FPDF错误:无法包含字体定义:脱机工作但不在线工作

I have a similar problem to the one in this question:"FDPDF error: Could not include font definition`. However, the error only occurs on my live server - my development server running XAMPP has no problems, so I assume there is nothing wrong with my code.

The directory structure on both servers is identical and I have ensured permission is given to the /font folder. I have put the font folder in every location relative to the pdf page's folder possible. What could be causing the problem?

  • 写回答

1条回答 默认 最新

  • dongpao1905 2014-11-21 10:14
    关注

    I've just solved this - I was using a custom font, with a camel cased file name. Even though the case was correct in my PHP, I tried changing both the file name and the reference to lower case and it now works. Presumably a difference in Windows and Unix.

    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?