<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -42,6 +42,19 @@ end
 describe &quot;when drawing text&quot; do
    
    before(:each) { create_pdf } 
+
+   it &quot;should advance down the document based on font_height&quot; do
+     position = @pdf.y
+     @pdf.text &quot;Foo&quot;
+
+     @pdf.y.should be_close(position - @pdf.font_metrics.font_height(12),
+                            0.0001)
+
+     position = @pdf.y
+     @pdf.text &quot;Foo\nBar\nBaz&quot;
+     @pdf.y.should be_close(position - 3*@pdf.font_metrics.font_height(12),
+                            0.0001)
+   end
    
    it &quot;should default to 12 point helvetica&quot; do
       @pdf.text &quot;Blah&quot;, :at =&gt; [100,100]              </diff>
      <filename>spec/text_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2cbbfa933865b45ed6353619628b1793edf49a76</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </author>
  <url>http://github.com/sandal/prawn/commit/2e7740e75b84fb7b43d70383aad0ab6a47a770f0</url>
  <id>2e7740e75b84fb7b43d70383aad0ab6a47a770f0</id>
  <committed-date>2008-06-20T12:51:39-07:00</committed-date>
  <authored-date>2008-06-20T12:51:39-07:00</authored-date>
  <message>Ensure font descender calculation did change behavior when advancing to new lines in text() [#30]</message>
  <tree>624f5ede8810375899a9b015ab706aadb0e3ed24</tree>
  <committer>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </committer>
</commit>
