mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Merge branch 'master' of github.com:kkirby/pdfkit into kkirby-master
This commit is contained in:
commit
cae5d5b710
@ -129,7 +129,7 @@ class PDFDocument
|
||||
return out
|
||||
|
||||
generateBody: (out, fn) ->
|
||||
offset = out.join('\n').length
|
||||
offset = out.join('\n').length + 1
|
||||
|
||||
refs = (ref for id, ref of @store.objects)
|
||||
do proceed = =>
|
||||
@ -155,7 +155,7 @@ class PDFDocument
|
||||
|
||||
generateTrailer: (out) ->
|
||||
trailer = PDFObject.convert
|
||||
Size: @store.length
|
||||
Size: @store.length + 1
|
||||
Root: @store.root
|
||||
Info: @_info
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user