cvs: /phpdoc/functions pdf.sgml
| From: | Uwe Steinmann | Date: | Thu, 09 Sep 1999 06:20:55 +0000 |
| Subject: | cvs: /phpdoc/functions pdf.sgml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10747@lists.php.net to get a copy of this message | ||
steinm Thu Sep 9 02:20:55 1999 EDT
Modified files:
/phpdoc/functions pdf.sgml
Log:
pdf_setfont got optional parameter to embed fonts
Index: phpdoc/functions/pdf.sgml
diff -u phpdoc/functions/pdf.sgml:1.9 phpdoc/functions/pdf.sgml:1.10
--- phpdoc/functions/pdf.sgml:1.9 Thu Jul 1 16:23:46 1999
+++ phpdoc/functions/pdf.sgml Thu Sep 9 02:20:55 1999
@@ -682,6 +682,7 @@
<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 @@
<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