source: sandbox/2.3-MailArchiver/phpgwapi/inc/fpdf/install.txt @ 6779

Revision 6779, 1.0 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1The FPDF library is made up of the following elements:
2
3- the main file, fpdf.php, which contains the class
4- the font metric files (located in the font directory of this archive)
5
6The metric files are necessary as soon as you want to output text in a document.
7They can be accessed from three different locations:
8
9- the current directory (the one where the running script lies)
10- one of the directories defined by the include_path parameter
11- the directory defined by the FPDF_FONTPATH constant
12
13Here is an example for the last case (note the mandatory final slash):
14
15define('FPDF_FONTPATH','/home/www/font/');
16require('fpdf.php');
17
18If the files are not accessible, the SetFont() method will produce the following error:
19
20FPDF error: Could not include font metric file
21
22If so, check if you have correctly defined the constant.
23
24Remarks:
25
26- You can also define FPDF_FONTPATH directly at the beginning of fpdf.php
27- Only the files corresponding to the fonts actually used are necessary
28
29The tutorials provided in this package are ready to be executed.
Note: See TracBrowser for help on using the repository browser.