summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
Diffstat (limited to 'fpdf.go')
-rw-r--r--fpdf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdf.go b/fpdf.go
index 290fffb..80e621d 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -2229,7 +2229,7 @@ func (f *Fpdf) SetWordSpacing(space float64) {
// SetTextRenderingMode sets the rendering mode of following text.
// See the TextRenderingMode* const definitions for modes.
func (f *Fpdf) SetTextRenderingMode(mode int) {
- f.out(sprintf("%d Tmode", 0))
+ f.out(sprintf("%d Tr", mode))
}
// SetAcceptPageBreakFunc allows the application to control where page breaks