<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,7 +17,7 @@ module Prawn
           segments.each do |segment|
             segment_width = string_width(segment, font_size)
       
-            if accumulated_width + segment_width &gt; line_width
+            if (accumulated_width + segment_width).round &gt; line_width.round
               output &lt;&lt; &quot;\n&quot;
               
               if segment =~ /\s/</diff>
      <filename>lib/prawn/font/wrapping.rb</filename>
    </modified>
    <modified>
      <diff>@@ -19,7 +19,7 @@ module Prawn
 
       def width
         @width || (@document.font_metrics.string_width(@text,
-           @document.current_font_size) + 2*@padding)
+          @document.current_font_size)) + 2*@padding
       end
 
       def height
@@ -43,7 +43,7 @@ module Prawn
         end
 
         @document.bounding_box( [@point[0] + @padding, @point[1] - @padding], 
-                                :width   =&gt; width,
+                                :width   =&gt; text_area_width,
                                 :height  =&gt; height - @padding) do
           @document.text @text
         end</diff>
      <filename>lib/prawn/graphics/cell.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f48fdff6e9c83b4ad5db5156dd24d197092dc339</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </author>
  <url>http://github.com/sandal/prawn/commit/09c837466c31bb715f1276118c606e20477577df</url>
  <id>09c837466c31bb715f1276118c606e20477577df</id>
  <committed-date>2008-06-23T14:21:55-07:00</committed-date>
  <authored-date>2008-06-23T14:21:55-07:00</authored-date>
  <message>Rounding the values for each segment seems to fix this issue</message>
  <tree>c6095d17f6a84d9e3b2b4f4c4e40f7e61eb257b6</tree>
  <committer>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </committer>
</commit>
