 
     @invalid_char = @chars[String.fromCharCode(end)]
 
-    @linesize   = @size + (@size >> 2)
-    @tabsize    = @size << 2
+    @spaceSize  = @size
+    @lineSize   = @spaceSize + (@spaceSize >> 2)
+    @tabSize    = @spaceSize << 2
 
   # Public: Centers text inside the given rect.
   #

    for c in text
      switch c
        when ' '
          w += @size
          continue
        when '\n'
          maxWidth = w if w > maxWidth
          w = 0
          h += @linesize
          continue
        when '\t'
          w += @tabsize
          continue

      char = @chars[c] || @invalid_char

    for c in text
      switch c
        when ' '
          xx += @spaceSize
          continue
        when '\n'
          xx = x
          yy += @lineSize
          continue
        when '\t'
          xx += @tabSize
          continue
 
      char = @chars[c] || @invalid_char
