<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -124,7 +124,8 @@ module Prawn
       #   text &quot;At size 16&quot;
       #  end
       #
-      def font_size(size)
+      def font_size(size=nil)
+        return current_font_size unless size
         font_size_before_block = @font_size || DEFAULT_FONT_SIZE
         font_size!(size)
         yield
@@ -135,16 +136,18 @@ module Prawn
       #
       def font_size!(size)
         @font_size = size unless size == nil
-      end
-     
+      end     
+      
+      alias_method :font_size=, :font_size!
+
+      private 
+      
       # The current font_size being used in the document.
       #
       def current_font_size
         @font_size || DEFAULT_FONT_SIZE
       end
 
-      private
-
       def move_text_position(dy)
          (y - dy) &lt; @margin_box.absolute_bottom ? start_new_page : self.y -= dy       
       end</diff>
      <filename>lib/prawn/document/text.rb</filename>
    </modified>
    <modified>
      <diff>@@ -71,7 +71,7 @@ module Prawn
       #
       def width
         @width || (@document.font_metrics.string_width(@text,
-          @document.current_font_size)) + 2*@horizontal_padding
+          @document.font_size)) + 2*@horizontal_padding
       end
 
       # The height of the cell in PDF points
@@ -84,7 +84,7 @@ module Prawn
       #
       def text_area_height
         @document.font_metrics.string_height(@text, 
-         :font_size  =&gt; @document.current_font_size, 
+         :font_size  =&gt; @document.font_size, 
          :line_width =&gt; text_area_width) 
       end
 </diff>
      <filename>lib/prawn/graphics/cell.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>de0db796081899dc0b6cb24393f3414196734d39</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </author>
  <url>http://github.com/sandal/prawn/commit/c9b31cbf847268af540ad76e603922eaca347d10</url>
  <id>c9b31cbf847268af540ad76e603922eaca347d10</id>
  <committed-date>2008-07-24T11:06:39-07:00</committed-date>
  <authored-date>2008-07-24T11:06:39-07:00</authored-date>
  <message>Eating my own dogfood from my book</message>
  <tree>ae659d2720bc809ea8e903eddfb7febc459ff33f</tree>
  <committer>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </committer>
</commit>
