--- documentation/manual/en/module_specs/Zend_Pdf-Drawing.xml (revision 23237)
+++ documentation/manual/en/module_specs/Zend_Pdf-Drawing.xml (working copy)
@@ -222,7 +222,7 @@
Text drawing operations also exist in the context of a PDF page. You
can draw a single line of text at any position on the page by supplying the x and y
- coordinates of the baseline. Current font and current font size are used for text
+ coordinates of the baseline. Current font, font size and page fill color are used for text
drawing operations (see detailed description below).
@@ -251,6 +251,18 @@
]]>
+
+ Set font color
+
+ setFillColor(Zend_Pdf_Color_Html::color('#990000'))
+ ->drawText('Hello world (in red)!', 72, 720);
+....
+]]>
+
+
+
By default, text strings are interpreted using the character encoding method of the
current locale. if you have a string that uses a different encoding method (such as a
@@ -262,7 +274,7 @@
function:
-
+
Draw a UTF-8-encoded string on the page