diff options
author | Wojciech Matusiak <wmatusiak@gmail.com> | 2019-02-21 16:10:33 +0100 |
---|---|---|
committer | Wojciech Matusiak <wmatusiak@gmail.com> | 2019-02-21 16:10:33 +0100 |
commit | 6b86862c2bf56008b1c08cce71a8604b2e11e0cf (patch) | |
tree | bea0c3be6bb96f225700db6b3ae3e6254ea88c6c | |
parent | 6a80039fd927b21892b75a206d8a36cccb60dd37 (diff) |
Match precision of word spacing with rest of code.
-rw-r--r-- | fpdf.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1899,7 +1899,7 @@ func (f *Fpdf) Text(x, y float64, txtStr string) { // SetWordSpacing sets spacing between words of following text func (f *Fpdf) SetWordSpacing(space float64) { - f.out(sprintf("%.3f Tw", space*f.k)) + f.out(sprintf("%.5f Tw", space*f.k)) } // SetAcceptPageBreakFunc allows the application to control where page breaks |