lib/prawn/flexible-table/cell.rb in prawn-flexible-table-0.1.1 vs lib/prawn/flexible-table/cell.rb in prawn-flexible-table-0.1.2

- old
+ new

@@ -85,13 +85,13 @@ # The height of the text area excluding the vertical padding def text_area_height text_height = 0 if @font_size @document.font_size(@font_size) do - text_height = @document.height_of(@text, text_area_width) + text_height = @document.height_of(@text, :width => text_area_width) end else - text_height = @document.height_of(@text, text_area_width) + text_height = @document.height_of(@text, :width => text_area_width) end text_height end # Draws the cell onto the PDF document