source: trunk/client/inc/hpdf/_fpdf/install.txt@ 2

Last change on this file since 2 was 2, checked in by root, 15 years ago

importo il progetto

File size: 1009 bytes
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 some text in a document.
7They can be accessed from three different locations:
8
9- the directory defined by the FPDF_FONTPATH constant (if this constant is defined)
10- the font directory located in the directory containing fpdf.php (as it is the case in this archive)
11- the directories accessible through include()
12
13Here is an example defining FPDF_FONTPATH (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
22
23Remarks:
24
25- Only the files corresponding to the fonts actually used are necessary
26- The tutorials provided in this package are ready to be executed
Note: See TracBrowser for help on using the repository browser.