From b009b7d368cb376788ba550784d21285cfbeded2 Mon Sep 17 00:00:00 2001 From: fossee-dell Date: Wed, 9 Aug 2017 14:55:43 +0530 Subject: Created proposal form --- pdf/fpdf/doc/addfont.htm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100755 pdf/fpdf/doc/addfont.htm (limited to 'pdf/fpdf/doc/addfont.htm') diff --git a/pdf/fpdf/doc/addfont.htm b/pdf/fpdf/doc/addfont.htm new file mode 100755 index 0000000..90dc361 --- /dev/null +++ b/pdf/fpdf/doc/addfont.htm @@ -0,0 +1,55 @@ + + + + +AddFont + + + +

AddFont

+AddFont(string family [, string style [, string file]]) +

Description

+Imports a TrueType, OpenType or Type1 font and makes it available. It is necessary to generate a font +definition file first with the MakeFont utility. +
+The definition file (and the font file itself when embedding) must be present in the font directory. +If it is not found, the error "Could not include font definition file" is raised. +

Parameters

+
+
family
+
+Font family. The name can be chosen arbitrarily. If it is a standard family name, it will +override the corresponding font. +
+
style
+
+Font style. Possible values are (case insensitive): + +The default value is regular. +
+
file
+
+The font definition file. +
+By default, the name is built from the family and style, in lower case with no space. +
+
+

Example

+
+
$pdf->AddFont('Comic','I');
+
+is equivalent to: +
+
$pdf->AddFont('Comic','I','comici.php');
+
+

See also

+SetFont(). +
+
Index
+ + -- cgit