summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2016-07-30 17:03:27 -0400
committerKurt <kurt.w.jung@gmail.com>2016-07-30 17:03:27 -0400
commitbacfc4e66073d77419f5e8f561f7939a9fa0d668 (patch)
treed7764ced86e162fe99d0694d01734b9cb32ee5df
parentadcaebf957268ca694a22b1d8002e901ce915549 (diff)
Fix lint violation in documentation
-rw-r--r--fpdf.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdf.go b/fpdf.go
index b06e048..b6508f5 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -1405,8 +1405,8 @@ func (f *Fpdf) AddFont(familyStr, styleStr, fileStr string) {
f.AddFontFromReader(familyStr, styleStr, file)
}
-// AddFont imports a TrueType, OpenType or Type1 font and makes it available
-// for use in the generated document.
+// AddFontFronBytes imports a TrueType, OpenType or Type1 font and makes it
+// available for use in the generated document.
//
// family specifies the font family. The name can be chosen arbitrarily. If it
// is a standard family name, it will override the corresponding font. This