SetaPDF_TextStamp::setFontFamily()
Description
class SetaPDF_TextStamp extends SetaPDF_Stamp {
mixed setFontFamily ( string $fontfamily[, string $fontstyle=null] )
}
Sets the fontfamily and style of the font.
Parameters
$fontfamily
The name of a standard Adobe Type 1 font. Available font names are:
- Times
- Helvetica (Arial)
- Courier
- Symbol
- ZapfDingbats
Standard: Helvetica
$fontstyle
The fontstyle of the given font. Possible values are:
- empty string: regular
- B: bold
- I: italic
or any combination. Bold and italic styles do not apply to Symbol and ZapfDingbats
Return value
True, if everythings works as expected. A SetaPDF_Error object if an error occurs.