summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorJoe Westcott <joewestcott@users.noreply.github.com>2019-04-29 19:59:53 +0100
committerKurt Jung <kurt.w.jung@gmail.com>2019-04-29 14:59:53 -0400
commit3319c51b75785b73101c8c9cd19a3eec8f494c0a (patch)
tree42483e27babe9b13148a8f9060b05266435584f9 /def.go
parent5262aa851a9a9faf10c562b221986ac190099efc (diff)
Add SetFontStyle method (#248)
Diffstat (limited to 'def.go')
-rw-r--r--def.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/def.go b/def.go
index fcc9237..ee0d3a6 100644
--- a/def.go
+++ b/def.go
@@ -426,6 +426,7 @@ type Pdf interface {
SetFontLoader(loader FontLoader)
SetFontLocation(fontDirStr string)
SetFontSize(size float64)
+ SetFontStyle(styleStr string)
SetFontUnitSize(size float64)
SetFooterFunc(fnc func())
SetFooterFuncLpi(fnc func(lastPage bool))