mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
c3b6da96cd
commit
3c4801512b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue