summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2016-07-30 17:40:29 -0400
committerKurt <kurt.w.jung@gmail.com>2016-07-30 17:40:29 -0400
commitf4bda32520aac828bf0c3880a41a97d5db968a7c (patch)
tree333fd92931935fda56396f24dcf4f51adcfdf83b /fpdf_test.go
parent80eb3e2a5ac1dddbbf7bd76e8065298f5257f122 (diff)
Correct example function name
Diffstat (limited to 'fpdf_test.go')
-rw-r--r--fpdf_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdf_test.go b/fpdf_test.go
index 2b12bdd..9e27aa3 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -1753,7 +1753,7 @@ func ExampleFpdf_CreateTemplate() {
}
// This example demonstrate how to use embedded fonts from byte array
-func ExampleEmbeddedBytes() {
+func ExampleFpdf_AddFontFromBytes() {
pdf := gofpdf.New("P", "mm", "A4", "")
pdf.AddPage()
pdf.AddFontFromBytes("calligra", "", files.CalligraJson, files.CalligraZ)