Open laurafeier opened 2 years ago
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
3.0.2
2.4.0
0.2.2
Result: bug.pdf
Issues:
Reproducible with:
Ruby version:
3.0.2
Prawn version:2.4.0
Prawn table version:0.2.2
Result: bug.pdf
Issues: