©
This document uses PHP Chinese website manual Release
(PECL pdflib >= 2.0.0)
PDF_begin_font — Start a Type 3 font definition
$pdfdoc
, string $filename
, float $a
, float $b
, float $c
, float $d
, float $e
, float $f
, string $optlist
)Starts a Type 3 font definition.
[#1] Greg Field [2010-02-16 10:56:40]
From the PDFLib site's documentation:
fontname (Name string) The name under which the font will be registered, and can later be used with PDF_load_font( ).
a, b, c, d, e, f (Will be ignored in the second pass of the font definition for Type 3 font subsets) The elements of the font matrix. This matrix defines the coordinate system in which the glyphs will be drawn. The six values make up a matrix in the same way as in PostScript and PDF. In order to avoid degenerate transformations, a*d must not be equal to b*c. A typical font matrix for a 1000 x 1000 coordinate system is [0.001, 0, 0, 0.001, 0, 0].
optlist (Ignored in the second pass for subset fonts) An option list. The following options can be used: colorized, familyname, stretch, weight, widthsonly