summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Swenson <chris@caswenson.com>2015-07-09 18:11:33 -0700
committerChristopher Swenson <chris@caswenson.com>2015-07-09 18:11:33 -0700
commit59ed89ada8a456da8ea556e78f3f926a61f7b083 (patch)
treed3bb5885b67e4f9a811fb445924e4b1c4aa28eeb
parent6a08402045a893587f9df5147de66dff238e8bba (diff)
Fix SetFontUnitSize name so that we can build
-rw-r--r--fpdf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdf.go b/fpdf.go
index 05598df..1fe9b1b 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -1543,7 +1543,7 @@ func (f *Fpdf) SetFontSize(size float64) {
// SetFontUnitSize defines the size of the current font. Size is specified in
// the unit of measure specified in New(). See also SetFontSize().
-func (f *Fpdf) SetFontSize(size float64) {
+func (f *Fpdf) SetFontUnitSize(size float64) {
if f.fontSize == size {
return
}