summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdf.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/fpdf.go b/fpdf.go
index cc47d16..aff0759 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -2226,6 +2226,11 @@ func (f *Fpdf) SetWordSpacing(space float64) {
f.out(sprintf("%.5f Tw", space*f.k))
}
+// SetTextRenderingMode sets the rendering mode of following text.
+func (f *Fpdf) SetTextRenderingMode(mode int) {
+ f.out(sprintf("%d Tmode", 0))
+}
+
// SetAcceptPageBreakFunc allows the application to control where page breaks
// occur.
//