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
Invoice Delivery pdf error
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Hi, test your PDF in
Hi, test your PDF in your Joomla! maybe you don't have istalled the font for PDF printing...
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Maybe the problem is
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
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
-
- Phoca Newbie
- Posts: 3
- Joined: 30 Apr 2008, 09:53
- Location: Sweden
Hi Jan thanks for yo
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
The font for pdf is included in all the language files:
<pdfFontName>FreeSans</pdfFontName>
(in both english and for me, swedish)
Regards
Peter
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
...
no idea what other thing can be wrong
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
...
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 29 May 2008, 13:18
- Location: South Africa
- Contact:
Jan,I di
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
see:libraries&
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
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