List Manager Forum

PDF error

User anonymous 2011-10-21 14:18:57

I have a problem with the button PDF.
I press the PDF button an then it Display "FPDF error: Could not include font metric file"
What can i do?
Excel export is ok.
Best regards

Moonsoft support 2011-10-21 14:19:15

Hello,
that message is generated at fpdf library that is used to generate the document. It means it is failing to load the font used to write it. Fonts used are Courier (for header&footer) and Arial. Could you check if you have both fonts available at your computer?.
If any of them is not present, we can explain to you how to change it for one available to make it work.
Regards

User anonymous 2011-10-21 14:19:33

Hello,
sorry i have only the arial font!
please explain me to can i change the font.
best regards

Moonsoft support 2011-10-21 14:20:04

Ok, please edit this file:

yourjoomla\components\com_listmanager\views\listmanager\tmpl\pdf.php


If you want to change font types, you can change lines like

SetFont('Arial',........

for other family available.

Hope this helps,

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!