-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Reproducible with:
idx = 0
rows = 31.times.map { [{ content: (idx += 1).to_s }] }
rows.first.unshift({ content: "col 1", rowspan: rows.count })
pdf = Prawn::Document.new
pdf.bounding_box([pdf.bounds.left, pdf.cursor], width: pdf.bounds.width) do
pdf.table(rows, cell_style: { borders: [:bottom], border_colors: 'CCCCCC' })
end
pdf.repeat(:all) do
pdf.bounding_box([pdf.bounds.left, pdf.bounds.bottom], width: pdf.bounds.width, height: 30) do
pdf.text("footer")
pdf.stroke_bounds
end
end
Ruby version: 3.0.2
Prawn version: 2.4.0
Prawn table version: 0.2.2
Result: bug.pdf
Issues:
- first page rows from the second columns are missing
- first column's bottom border should be rendered on the second page, inline with the last row, not on the first page overlapping with the footer
Metadata
Metadata
Assignees
Labels
No labels