From 6b86862c2bf56008b1c08cce71a8604b2e11e0cf Mon Sep 17 00:00:00 2001 From: Wojciech Matusiak Date: Thu, 21 Feb 2019 16:10:33 +0100 Subject: Match precision of word spacing with rest of code. --- fpdf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpdf.go b/fpdf.go index 3f4c1a3..8376f9c 100644 --- a/fpdf.go +++ b/fpdf.go @@ -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 -- cgit v1.2.1-24-ge1ad