Invoice Delivery pdf error

General Forum
sturag
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Apr 2008, 09:53
Location: Sweden

HiI have upgra

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, test your PDF in

Post by Jan »

Hi, test your PDF in your Joomla! maybe you don't have istalled the font for PDF printing...

Jan
If you find Phoca extensions useful, please support the project
sturag
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Apr 2008, 09:53
Location: Sweden

HiThe st

Post by sturag »

Hi

The standard Joomla pdf is working.

/Peter
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Maybe the problem is

Post 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
If you find Phoca extensions useful, please support the project
sturag
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Apr 2008, 09:53
Location: Sweden

Hi Jan thanks for yo

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

...

Post by Jan »

no idea what other thing can be wrong
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

...

Post by Jan »

If you find Phoca extensions useful, please support the project
peternagel
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 29 May 2008, 13:18
Location: South Africa
Contact:

Jan,I di

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

see:libraries&

Post 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
If you find Phoca extensions useful, please support the project
Post Reply