<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>bugs/resolved/table_header_overrun.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -12,7 +12,7 @@ describe &quot;A table's width&quot; do
   end
 
   it &quot;should calculate unspecified column widths as &quot;+
-     &quot;(max(string_width) + 2*horizontal_padding)&quot; do
+     &quot;(max(string_width).ceil + 2*horizontal_padding)&quot; do
     pdf = Prawn::Document.new
     hpad, fs = 3, 12
     columns = 2
@@ -22,7 +22,7 @@ describe &quot;A table's width&quot; do
     col0_width = pdf.font.metrics.string_width(&quot;foo&quot;,fs)
     col1_width = pdf.font.metrics.string_width(&quot;foobar&quot;,fs)
 
-    table.width.should == col0_width + col1_width + 2*columns*hpad
+    table.width.should == col0_width.ceil + col1_width.ceil + 2*columns*hpad
   end
 
   it &quot;should allow mixing autocalculated and preset&quot;+
@@ -42,8 +42,9 @@ describe &quot;A table's width&quot; do
       :horizontal_padding =&gt; hpad, :font_size =&gt; fs, 
       :widths =&gt; { 0 =&gt; col0_width, 3 =&gt; col3_width } )
 
-        table.width.should == col1_width + col2_width + 2*stretchy_columns*hpad +
-                              col0_width + col3_width
+        table.width.should == col1_width.ceil + col2_width.ceil + 
+                              2*stretchy_columns*hpad + 
+                              col0_width.ceil + col3_width.ceil
 
   end
 </diff>
      <filename>spec/table_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>bugs/table_header_overrun.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>9c357bc488d26e7bbc2e442606106106d349e232</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </author>
  <url>http://github.com/sandal/prawn/commit/0d813b8e3c5562f31cd6851019d20266026fe443</url>
  <id>0d813b8e3c5562f31cd6851019d20266026fe443</id>
  <committed-date>2008-08-17T17:36:00-07:00</committed-date>
  <authored-date>2008-08-17T17:36:00-07:00</authored-date>
  <message>Update tests and move bug to resolved</message>
  <tree>ac50f0e3f1a734ce0444649fc5c447613855f044</tree>
  <committer>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </committer>
</commit>
