From b0a9bc06a9cca3cc500e7f1fcfb546113e7ee6ad Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Thu, 9 Jul 2015 21:28:52 -0400 Subject: Fixed duplicate name for SetFontSize and SetFontUnitSize --- fpdf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.1-24-ge1ad