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):fileThe default value is regular.
- empty string: regular
- B: bold
- I: italic
- BI or IB: bold italic
The font definition file.
By default, the name is built from the family and style, in lower case with no space.
$pdf->AddFont('Comic','I'); |
$pdf->AddFont('Comic','I','comici.php'); |