pdf_setfont got optional parameter to embed fonts

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@12800 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Uwe Steinmann 1999-09-09 06:20:55 +00:00
parent c3b6da96cd
commit 3c4801512b

View file

@ -682,6 +682,7 @@ fclose($fp);
<paramdef>string <parameter>font name</parameter></paramdef>
<paramdef>double <parameter>size</parameter></paramdef>
<paramdef>int <parameter>encoding</parameter></paramdef>
<paramdef>int <parameter>embed</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_set_font</function> function sets the
@ -691,7 +692,8 @@ fclose($fp);
<parameter>encoding</parameter> can take the following values:
0 = builtin, 1 = pdfdoc, 2 = macroman, 3 = macexpert, 4 = winansi.
An encoding greater than 4 and less than 0 will default to winansi.
winansi is often a good choice.
winansi is often a good choice. If the last parameter is set to
1 the font is embedded into the pdf document otherwise it is not.
<note><simpara>
This function does not need the afm files for winansi encoding if