summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
Diffstat (limited to 'def.go')
-rw-r--r--def.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/def.go b/def.go
index fdf439b..b4140a9 100644
--- a/def.go
+++ b/def.go
@@ -268,6 +268,8 @@ type FontLoader interface {
Open(name string) (io.Reader, error)
}
+// Pdf defines the interface used for various methods. It is implemented by the
+// main FPDF instance as well as templates.
type Pdf interface {
AddFont(familyStr, styleStr, fileStr string)
AddFontFromBytes(familyStr, styleStr string, jsonFileBytes, zFileBytes []byte)