Prawn: is there any way for text justify alignment of all content in bounding_box?

145 Views Asked by At

I have an arbitrary text write for user

customer_note

and I'd like to align the text randomly in a text align justify, I have tried to access the text but there is no way to justify the text.

if customer_note.present?
  pdf.bounding_box [0, 50], width: 350 do
    pdf.table(customer_note, cell_style: { borders: [] }) do
      cells.padding = 0
    end
  end
end 
0

There are 0 best solutions below