diff options
author | Nick White <git@njw.name> | 2019-10-29 18:16:14 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-10-29 18:16:14 +0000 |
commit | c13bfe75e82a71ac7436df1cad5b10b678d5bc95 (patch) | |
tree | 4bcea220346ce6fab8983b5d0b18505d51bfa8fd /fpdf.go | |
parent | dcb91f0393c02a2124d867674ed25ef11d83087c (diff) |
Fix SetTextRenderingMode to follow spec correctly, and add missing modes to constaddtextrenderingmode
Diffstat (limited to 'fpdf.go')
-rw-r--r-- | fpdf.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2229,7 +2229,7 @@ func (f *Fpdf) SetWordSpacing(space float64) { // SetTextRenderingMode sets the rendering mode of following text. // See the TextRenderingMode* const definitions for modes. func (f *Fpdf) SetTextRenderingMode(mode int) { - f.out(sprintf("%d Tmode", 0)) + f.out(sprintf("%d Tr", mode)) } // SetAcceptPageBreakFunc allows the application to control where page breaks |