<?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>e13def82f8b255d2222ddde8c08cf9ede5135a4e</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </author>
  <url>http://github.com/sandal/prawn/commit/dcfa7f8d047beb1da729cd46d60e862eb4eef189</url>
  <id>dcfa7f8d047beb1da729cd46d60e862eb4eef189</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>b32bc473839c3357218c7b3961f426444b6ab157</tree>
  <committer>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </committer>
</commit>
