summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-07-09 21:28:52 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-07-09 21:28:52 -0400
commitb0a9bc06a9cca3cc500e7f1fcfb546113e7ee6ad (patch)
treed3bb5885b67e4f9a811fb445924e4b1c4aa28eeb /fpdf.go
parent6a08402045a893587f9df5147de66dff238e8bba (diff)
Fixed duplicate name for SetFontSize and SetFontUnitSize
Diffstat (limited to 'fpdf.go')
-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
}