Page 1 of 1

HiI have upgra

Posted: 30 Apr 2008, 09:54
by sturag
Hi
I have upgraded my joomla/virtuemart site to 1.53/1.1 stable, and i have also installd the delivery addon, but when i click om a invoice pdf i got the folloing error:

TCPDF error: Could not include font definition file

What could be wrong??

Regards
Peter

Hi, test your PDF in

Posted: 30 Apr 2008, 10:51
by Jan
Hi, test your PDF in your Joomla! maybe you don't have istalled the font for PDF printing...

Jan

HiThe st

Posted: 30 Apr 2008, 13:02
by sturag
Hi

The standard Joomla pdf is working.

/Peter

Maybe the problem is

Posted: 01 May 2008, 17:22
by Jan
Maybe the problem is that the font is not included in your administrator language xml file, only in frontend...

check the language xml file in:

languages/en-GB (or your langugae)
administrator/langauge/en-GB(or your langaugae)

if the fonnt for PDF is included

Jan

Hi Jan thanks for yo

Posted: 02 May 2008, 13:21
by sturag
Hi Jan thanks for your help..
The font for pdf is included in all the language files:

<pdfFontName>FreeSans</pdfFontName>
(in both english and for me, swedish)

Regards
Peter

...

Posted: 05 May 2008, 13:34
by Jan
no idea what other thing can be wrong

...

Posted: 26 May 2008, 14:58
by Jan

Jan,I di

Posted: 29 May 2008, 13:20
by peternagel
Jan,

I didn't not see the available forum, do apologize for that. As per my mail, I receive the same error, but would like to confirm:

1.) pdf_fonts folder located in the en-GB Folder? (/admin/language/en-GB/)
2.) pdf_fonts folder located in the en-GB Folder? (/languages/en-GB)
3.) printpdf folder located in the document folder (/libraries/joomla/document/)

Thanks for the help
Peter

see:libraries&

Posted: 29 May 2008, 17:29
by Jan
see:
libraries\joomla\document\printpdf\printpdf.php


if both constats are defined (no comments there):

define("FPDF_FONTPATH", JPATH_SITE.DS.'language'.DS."pdf_fonts".DS);
define("K_PATH_FONTS", JPATH_SITE.DS.'language'.DS."pdf_fonts".DS);



If yes, there is some output (maybe error) which still will be send to browser before PDF creating