Hi :)

I'm using last version of Printer Friendly and last version of TCPDF (tcpdf 4.6.006) ;
printing web pages is good but PDF version is not working...

It always sends this message : TCPDF ERROR: Could not include font definition file: helvetica, times, courier, freesans, freeserif.

I don't understand why because I have done the same install as on an other website (6.x there) and there, all is working good ;
but here with Drupal 5 last version (updated today 5.17) it doesn't work...

I have seen in tcpdf config file that : K_PATH_MAIN and K_PATH_URL are automatically detected, so I don't see where is this problem coming from...

If some body has an Idea ?

I have searched here discussion with "TCPDF ERROR: Could not include font definition file" but I haven't found something to help me significativelly.

Thank you for your attention.
Sorry for my poor english

Comments

marcelduchamp’s picture

I have noticed that :

note that any errors/bugs in those tools need to be reported and fixed by their maintainers. DO NOT report bugs in those tools in the print module's issue queue at Drupal.org.

But with the same TCPF version and an install on an other drupal site (6.x) all is working good, so I suppose that this bug is not coming from TCPDF...

Maybe I'm loosing myself ?

marcelduchamp’s picture

Ah yes :)

I have found where it was coming from...

Sorry for the dummie issue posting...

If that can be interesting for others newbie :

you can't enable multiple fonts on http://www.example.com/admin/settings/print/pdf

On "Font Family" you have to put only one font family, that's the key...

Sorry...

jcnventura’s picture

Status: Active » Closed (fixed)

Glad to know you solved the problem.

João