I have a tex file that compiles from the command line when I run pdflatex. However, when I run the same command from PHP/Apache, I get a fatal error. I also get a file called "missfonts.log" produced, which contains the following:
mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ecsi0800
In my output log, these are the last two lines:
!pdfTeX error: pdflatex (file ecsi0800): Font ecsi0800 at 600 not found ==> Fatal error occurred, no output PDF file produced!
I don't know what
ecsi0800 refers to - it's not in my tex file anywhere.
I've tried various permutations of updmap and updmap-sys, with no change. I can see a whole load of map files in my texmf-var directory, but no idea what to do with them to make them available to the builder.
I'm not sure if this is a server config issue or a pdflatex issue. Is it possible to tell pdflatex to use fonts from a specific location?
Edit: Another question led me to the command
kpsewhich pdftex.map, with the output:
So, I created a folder called $HOME with a soft link from .texmf-var to the .texmf-var folder in my home folder, and the thing works! This isn't a great solution, and I'm sure there's a better way, so please do help if you can!