summaryrefslogtreecommitdiff
path: root/template_impl.go
diff options
context:
space:
mode:
authorDarkFreedman <misterdark@mail.ru>2019-10-04 12:14:19 +0300
committerDarkFreedman <misterdark@mail.ru>2019-10-04 12:14:19 +0300
commit4c9d4cde86495128201e05dfdcee37db69f23659 (patch)
treebcc51f0f0b585ced9b68f1003972847db619e402 /template_impl.go
parent4ca1a43173413971a6bb92c78be31a71b29b416b (diff)
Update to latest version
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
+ }
}