summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
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
}