<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@
 # 
 # Multi-faceted example that demonstrates a document flowing between header
 # and footer regions.  At the moment, headers and footers in Prawn are run
-# using the current font settings (among other things), for each page.  THhis
+# using the current font settings (among other things), for each page.  This
 # means that it is important to non-destructively set your desired styling 
 # within your headers and footers, as shown below.  
 #
@@ -31,53 +31,7 @@ Prawn::Document.generate(&quot;flow_with_headers_and_footers.pdf&quot;)  do
       :width  =&gt; bounds.width, :height =&gt; bounds.height - 100) do                 
    text &quot;this is some flowing text &quot; * 200    
    
-   move_down(20)
    
-   font &quot;#{Prawn::BASEDIR}/data/fonts/DejaVuSans.ttf&quot;
-   table [[&quot;&#8021;&#945;&#955;&#959;&#957; &#981;&#945;&#947;&#949;&#8150;&#957;&quot;,    &quot;baaar&quot;,             &quot;1&quot; ],
-          [&quot;This is&quot;,&quot;a sample&quot;,          &quot;2&quot; ],
-          [&quot;Table&quot;,  &quot;dont\ncha\nknow?&quot;,  &quot;3&quot; ],
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules\nwith an iron fist&quot;, &quot;x&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],   
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],  
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ],     
-          [ &quot;It&quot;,    &quot;Rules&quot;,             &quot;4&quot; ]],     
-
-     :font_size          =&gt; 24, 
-     :horizontal_padding =&gt; 10,
-     :vertical_padding   =&gt; 3,
-     :border_width       =&gt; 2,
-     :position           =&gt; :center,
-     :headers            =&gt; [&quot;Column A&quot;,&quot;Column B&quot;,&quot;#&quot;]
-          
  end    
  
-end
\ No newline at end of file
+end</diff>
      <filename>examples/text/flowing_text_with_header_and_footer.rb</filename>
    </modified>
    <modified>
      <diff>@@ -34,8 +34,8 @@ module Prawn
 
       if block_given?
         save_font do
-          set_font(new_font)
-          font_size(options[:size]) { yield }
+          set_font(new_font, options[:size])
+          yield
         end
       else
         set_font(new_font, options[:size])
@@ -82,10 +82,9 @@ module Prawn
     # Saves the current font, and then yields. When the block
     # finishes, the original font is restored.
     def save_font
-      if @font
-        original_font = @font
-        original_size = @font_size
-      end
+      @font ||= find_font(&quot;Helvetica&quot;)
+      original_font = @font
+      original_size = @font_size
 
       yield
     ensure</diff>
      <filename>lib/prawn/font.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>eec93b66f7cf74d3c771d90e40e4b874e11727ca</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </author>
  <url>http://github.com/sandal/prawn/commit/72025de00602df7018782e3db10581e7c7500acc</url>
  <id>72025de00602df7018782e3db10581e7c7500acc</id>
  <committed-date>2009-01-16T09:55:04-08:00</committed-date>
  <authored-date>2009-01-16T09:55:04-08:00</authored-date>
  <message>Fix example and associated bug</message>
  <tree>166f833b6ff07821c12ae81e2c6701bc2388e4bf</tree>
  <committer>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </committer>
</commit>
