diff options
author | Kurt Jung <kurt.w.jung@code.google.com> | 2013-10-09 13:04:44 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@code.google.com> | 2013-10-09 13:04:44 -0400 |
commit | 1df224f1d58d731bd9027a5af26b4604a183c4c8 (patch) | |
tree | 5d5bfca1b6e2fe3b927dc6de296e72f26461ff20 | |
parent | 651c5328065c606291da69a14eb665ae6c036d75 (diff) |
Bruno Michel caught and corrected yet another defect, this one an error in determining the number of loaded fonts.
-rw-r--r-- | fpdf.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1204,7 +1204,7 @@ func (f *Fpdf) AddFont(familyStr, styleStr, fileStr string) { if f.err != nil { return } - info.I = len(f.fonts) + 1 + info.I = len(f.fonts) // dbg("font [%s], I [%d]", fileStr, info.I) if len(info.Diff) > 0 { // Search existing encodings |