summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2019-02-21 11:32:27 -0500
committerKurt <kurt.w.jung@gmail.com>2019-02-21 11:32:27 -0500
commit567bef933d5649777a8b39772ad57dc9ddaba8d8 (patch)
tree17dd2d4be0bf0538d5d770fac31334eed1c34ce7 /fpdf.go
parentd0584cb180f1316776ad59421ceed4c02f47e104 (diff)
Acknowledge word spacing author
Diffstat (limited to 'fpdf.go')
-rw-r--r--fpdf.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdf.go b/fpdf.go
index 8376f9c..d6fc123 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -1897,7 +1897,8 @@ func (f *Fpdf) Text(x, y float64, txtStr string) {
f.out(s)
}
-// SetWordSpacing sets spacing between words of following text
+// SetWordSpacing sets spacing between words of following text. See the
+// WriteAligned() example for a demonstration of its use.
func (f *Fpdf) SetWordSpacing(space float64) {
f.out(sprintf("%.5f Tw", space*f.k))
}