diff options
author | Kurt <kurt.w.jung@gmail.com> | 2019-02-21 11:25:22 -0500 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2019-02-21 11:25:22 -0500 |
commit | d0584cb180f1316776ad59421ceed4c02f47e104 (patch) | |
tree | 7f1e8cf2e4765b1a8cb1f24f3d4f0320fb80e029 /fpdf.go | |
parent | 5e8bff406205400b6d067dc6d96666dedc2cf32a (diff) | |
parent | 10d79b67761eced6c524fbfb4383813065a58050 (diff) |
Merge branch 'wmatusiak-WordSpacing'
Diffstat (limited to 'fpdf.go')
-rw-r--r-- | fpdf.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1897,6 +1897,11 @@ func (f *Fpdf) Text(x, y float64, txtStr string) { f.out(s) } +// SetWordSpacing sets spacing between words of following text +func (f *Fpdf) SetWordSpacing(space float64) { + f.out(sprintf("%.5f Tw", space*f.k)) +} + // SetAcceptPageBreakFunc allows the application to control where page breaks // occur. // |