title: Is label best fit for image with Rmagick possible?
body: <blockquote>
    <p>The biggest trick to using labels to generate images of a specific "-size" is NOT to specify a "-pointsize" for the label. When this happens IM will have the freedom to try and select a font size that best fits the image size requested. That is the drawn text will be adjusted to fit the given size!  <a href="http://www.imagemagick.org/Usage/text/#label_bestfit" rel="nofollow">1</a></p>
  </blockquote>
  
  <p>This extract from the ImageMagick documentation show that it's pretty easy to force text to fit inside a image size.</p>
  
  <p>I've try to find a way to fit text inside a fix width Rmagick image without success.        </p>
  
  <pre><code>    text = Draw.new
      text.annotate layer, layer_data['width'], layer_data['height'], layer_data['x'], layer_data['y'], layer_content do
  
        self.font_family = 'arial'
        self.fill = '#000000'
  
      end
  </code></pre>
  
  <p>I've logically tried to use annotate without a pointsize, but Rgmagick just swap the default pointsize of 12.</p>
  
  <p>Is there a way with Rmagick to let the library compute the best pointsize so text fit in a fixed width image, like in ImageMagick. </p>