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?

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.