Skip to content

Commit

Permalink
output xmp earlier to not clash with trailer refs
Browse files Browse the repository at this point in the history
  • Loading branch information
echa committed Aug 30, 2017
1 parent 0e5c39b commit 1642672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fpdf.go
Original file line number Diff line number Diff line change
Expand Up @@ -3731,14 +3731,14 @@ func (f *Fpdf) enddoc() {
}
// Bookmarks
f.putbookmarks()
// Metadata
f.putxmp()
// Info
f.newobj()
f.out("<<")
f.putinfo()
f.out(">>")
f.out("endobj")
// Metadata
f.putxmp()
// Catalog
f.newobj()
f.out("<<")
Expand Down

0 comments on commit 1642672

Please sign in to comment.