From f8f52572e1168e277dd60a12bc594dd1923861ae Mon Sep 17 00:00:00 2001 From: Brad Ediger Date: Wed, 27 May 2009 19:51:56 -0500 Subject: [PATCH] Output newline after %%EOF marker for ImageMagick and Ghostscript --- lib/prawn/document/internals.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prawn/document/internals.rb b/lib/prawn/document/internals.rb index 911c6411f..6a0d3ffbb 100644 --- a/lib/prawn/document/internals.rb +++ b/lib/prawn/document/internals.rb @@ -125,7 +125,7 @@ def render_trailer(output) output << Prawn::PdfObject(trailer_hash) << "\n" output << "startxref\n" output << @xref_offset << "\n" - output << "%%EOF" + output << "%%EOF" << "\n" end end