From a3cf901b6d1246d3e00875a3e88c69bee068156d Mon Sep 17 00:00:00 2001 From: Paul Montag Date: Sat, 22 Dec 2018 18:54:08 -0600 Subject: Updated font id generation and image id (#222) Generated font ID will now be the same across machines when generating the same font file. Generated image Id will now be the same across machines when generating the same image file. --- template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template.go') diff --git a/template.go b/template.go index e3e4fe5..31204c2 100644 --- a/template.go +++ b/template.go @@ -178,7 +178,7 @@ func (f *Fpdf) putTemplates() { for _, key = range keyList { // for _, ti := range tImages { ti = tImages[key] - f.outf("/I%d %d 0 R", ti.i, ti.n) + f.outf("/I%s %d 0 R", ti.i, ti.n) } } for _, tt := range tTemplates { -- cgit v1.2.1-24-ge1ad