
Hi, I just started using this php class to generate pdf documents. Anyone used it before? I keep getting the error "TCPDF ERROR: Could not include font definition file" Could anyone assist on how to get around this? I have all the files in place and i don't understand why it won't work Thanks

fontfile is missing in the directory On Fri, Aug 13, 2010 at 10:22 AM, julianne anyim <julia.alma@hotmail.com>wrote:
Hi,
I just started using this php class to generate pdf documents. Anyone used it before? I keep getting the error *"TCPDF ERROR: **Could not include font definition file"
*Could anyone assist on how to get around this?
I have all the files in place and i don't understand why it won't work
Thanks* *
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

AddFont (line 1858) Imports a TrueType or Type1 font and makes it available. It is necessary to generate a font definition file first with the makefont.php utility. The definition file (and the font file itself when embedding) must be present either in the current directory or in the one indicated by K_PATH_FONTS if the constant is defined. If it could not be found, the error "Could not include font definition file" is generated. Support UTF-8 Unicode [Nicola Asuni, 2005-01-02]. *Example*: $pdf->AddFont('Comic','I'); // is equivalent to: $pdf->AddFont('Comic','I','comici.php'); - see: TCPDF::SetFont()<http://www.phpmyadmin.net/phpdoc/com-tecnick-tcpdf/TCPDF.html#methodSetFont> - since: 1.5 - access: public void AddFont (string $family, [string $style = ''], [string $file = '']) - string $family: Font family. The name can be chosen arbitrarily. If it is a standard family name, it will override the corresponding font. - string $style: Font style. Possible values are (case insensitive): - empty string: regular (default) - B: bold - I: italic - BI or IB: bold italic - string $file: The font definition file. By default, the name is built from the family and style, in lower case with no space. * * On Fri, Aug 13, 2010 at 10:57 AM, Axe Labs <axe360@gmail.com> wrote:
fontfile is missing in the directory
On Fri, Aug 13, 2010 at 10:22 AM, julianne anyim <julia.alma@hotmail.com>wrote:
Hi,
I just started using this php class to generate pdf documents. Anyone used it before? I keep getting the error *"TCPDF ERROR: **Could not include font definition file"
*Could anyone assist on how to get around this?
I have all the files in place and i don't understand why it won't work
Thanks* *
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
participants (2)
-
Axe Labs
-
julianne anyim