summaryrefslogtreecommitdiff
path: root/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'template.go')
-rw-r--r--template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.go b/template.go
index fc6e29c..e3e4fe5 100644
--- a/template.go
+++ b/template.go
@@ -128,7 +128,7 @@ func (f *Fpdf) templateFontCatalog() {
}
for _, key = range keyList {
font = f.fonts[key]
- f.outf("/F%d %d 0 R", font.I, font.N)
+ f.outf("/F%s %d 0 R", font.i, font.N)
}
f.out(">>")
}