summaryrefslogtreecommitdiff
path: root/template_impl.go
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2019-09-07 09:17:24 -0400
committerKurt <kurt.w.jung@gmail.com>2019-09-07 09:17:24 -0400
commitfac5b8ac092fabeb667ca3e16212b5cc2fc0c4f1 (patch)
tree08ec04cb4469d1685189545b70ee3749ba420e76 /template_impl.go
parentced1e15bca902f15732b6380aaa4bdc419d87eac (diff)
parent29a8ebcc82176b98972f23e915f2afdf8a192bac (diff)
Merge branch 'joewestcott-template-init'
Diffstat (limited to 'template_impl.go')
-rw-r--r--template_impl.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/template_impl.go b/template_impl.go
index c5d7be8..c1e2dff 100644
--- a/template_impl.go
+++ b/template_impl.go
@@ -296,4 +296,8 @@ func (t *Tpl) loadParamsFromFpdf(f *Fpdf) {
t.Fpdf.fontSizePt = f.fontSizePt
t.Fpdf.fontStyle = f.fontStyle
t.Fpdf.ws = f.ws
+
+ for key, value := range f.images {
+ t.Fpdf.images[key] = value
+ }
}