PDF_findfont()
PDF_findfont - Prepare font for later use [deprecated]
Syntax
int PDF_findfont (
resource $p,
string $fontname,
string $encoding,
int $embed)
Arguments
- p - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
- fontname - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
- encoding - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
- embed - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
Description
Search for a font and prepare it for later use with PDF_setfont(). The metrics will be loaded, and if embed is nonzero, the font file will be checked, but not yet used. encoding is one of builtin, macroman, winansi, host, a user-defined encoding name or the name of a CMap. Parameter embed is optional before PHP 4.3.5 or with PDFlib less than 5.
Version
PHP 4.0.5, PECL pdflib >= 1.0.0
Return value