summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-10-10 15:24:43 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-10-10 15:24:43 -0400
commit92858a8b5ff04e4196597d9d517f3b2a0d651579 (patch)
tree4697ba0ba2019cd48d29ad462da280bd18aa6e36 /def.go
parent5847afd8a205853a7effbf749b7a388ae325eb24 (diff)
Conditionally sort image catalog. Correct small typos.
Diffstat (limited to 'def.go')
-rw-r--r--def.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/def.go b/def.go
index 2c4d33d..4c99733 100644
--- a/def.go
+++ b/def.go
@@ -151,7 +151,7 @@ type InitType struct {
// from arbitrary locations (e.g. files, zip files, embedded font resources).
//
// Open provides an io.Reader for the specified font file (.json or .z). The file name
-// does never include a path. Open returns an error if the specified file cannot be opened.
+// never includes a path. Open returns an error if the specified file cannot be opened.
type FontLoader interface {
Open(name string) (io.Reader, error)
}
@@ -162,7 +162,7 @@ type Fpdf struct {
n int // current object number
offsets []int // array of object offsets
templates map[int64]Template // templates used in this document
- templateObjects map[int64]int //template object IDs within this document
+ templateObjects map[int64]int // template object IDs within this document
buffer fmtBuffer // buffer holding in-memory PDF
pages []*bytes.Buffer // slice[page] of page content; 1-based
state int // current document state