summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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