0 оценок0% нашли этот документ полезным (0 голосов)
10 просмотров1 страница
The font metric files are necessary when you want to output some text in a document. They can be accessed from three different locations: - the directory defined by the FPDF_FONTPATH constant - the font directory located in the directory containing fpdf.php - the directories accessible through include() if the files are not accessible, the SetFont() method will produce the following error: fpdf error: Could not include font metric file.
The font metric files are necessary when you want to output some text in a document. They can be accessed from three different locations: - the directory defined by the FPDF_FONTPATH constant - the font directory located in the directory containing fpdf.php - the directories accessible through include() if the files are not accessible, the SetFont() method will produce the following error: fpdf error: Could not include font metric file.
Авторское право:
Attribution Non-Commercial (BY-NC)
Доступные форматы
Скачайте в формате TXT, PDF, TXT или читайте онлайн в Scribd
The font metric files are necessary when you want to output some text in a document. They can be accessed from three different locations: - the directory defined by the FPDF_FONTPATH constant - the font directory located in the directory containing fpdf.php - the directories accessible through include() if the files are not accessible, the SetFont() method will produce the following error: fpdf error: Could not include font metric file.
Авторское право:
Attribution Non-Commercial (BY-NC)
Доступные форматы
Скачайте в формате TXT, PDF, TXT или читайте онлайн в Scribd
The FPDF library is made up of the following elements:
- the main file, fpdf.php, which contains the class
- the font metric files (located in the font directory of this archive) The metric files are necessary as soon as you want to output some text in a docu ment. They can be accessed from three different locations: - the directory defined by the FPDF_FONTPATH constant (if this constant is defin ed) - the font directory located in the directory containing fpdf.php (as it is the case in this archive) - the directories accessible through include() Here is an example defining FPDF_FONTPATH (note the mandatory final slash): define('FPDF_FONTPATH','/home/www/font/'); require('fpdf.php'); If the files are not accessible, the SetFont() method will produce the following error: FPDF error: Could not include font metric file
Remarks: - Only the files corresponding to the fonts actually used are necessary - The tutorials provided in this package are ready to be executed