data = [['Gregory Brown', 'Gregory Brow', 'Gregory Brow', 'Gregory Brow','Gregory Brow','Gregory Brow','Gregory Brow'],
['Gregory Brown', 'Gregory Brow', 'Gregory Brow', 'Gregory Brow', 'Gregory Brow','Gregory Brow','Gregory Brow'],
['Gregory Brown', 'Gregory Brow', 'Gregory Brow', 'Gregory Brow','Gregory Brow', 'Gregory Brow','Gregory Brow'],
['Gregory Brown', 'Gregory Brow', 'Gregory Brow', 'Gregory Brow','Gregory Brow','Gregory Brow','Gregory Brow']]
pdf.table data
end
Hi,
if I create a document with table I get an error with the Acrobat Reader 9.x
"An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem."
The error occurs only if I use more then six columns in my table.
For example following code works fine without errors:
Prawn::Document.generate("test.pdf", :page_size => "A4", :page_layout => :landscape) do |pdf|
If I add some columns I get the display error. Following code reproduce it.
Prawn::Document.generate("test.pdf", :page_size => "A4", :page_layout => :landscape) do |pdf|
The error only appear on the Acrobat Reader 9.x.Mac Preview and Foxit Reader are working without errors.