title: ImageMagick - convert different results on two different servers
body: <p>I'm using the below command in order to generate a coupon image. In my dev environment I'm using Ubuntu Server and in production I'm using Centos 7. </p>
  
  <pre><code>convert 
  -font /some-path/Gotham-Ultra.ttf 
  -gravity center 
  -geometry +0-0 
  -background none 
  -gravity south 
  -fill #FC3B45 
  -size 330x90 
  caption:VIERNES 
  -font Helvetica-Bold 
  -gravity north 
  -background none 
  -pointsize 25 
  -fill #671646 
  -size 330x 
  caption:–––––––––––––––––––– 
  -font /some-path/Gotham-Ultra.ttf 
  -gravity center 
  -background none 
  -fill #671646 
  -size 330x210 
  +pointsize 
  caption:4 EMPANADAS 2 PORCIONES DE ENSALADAS 2 REFRESCOS DE 355ML POR $195 
  -font Helvetica-Bold 
  -gravity north 
  -background none 
  -pointsize 25 
  -fill #671646 
  -size 330x 
  caption:–––––––––––––––––––– 
  -append /some-path/canvas/yellow.png 
  +swap 
  -gravity center 
  -composite /some-path/photo.jpg 
  -crop 450x480+0+0 
  +swap 
  -append 
  /tmp/coupon_image20180212-7979-p52o3f.jpg
  </code></pre>
  
  <p>So, I expect that the caption will resize the font automatically based on the space given as per: <a href="http://www.imagemagick.org/Usage/text/#caption_bestfit" rel="nofollow noreferrer">http://www.imagemagick.org/Usage/text/#caption_bestfit</a></p>
  
  <p>This is my output in my prod env:</p>
  
  <p><strong>Centos 7 (Production)</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Djc1c.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Djc1c.jpg" alt="enter image description here"></a></p>
  
  <p>And I expect the following:</p>
  
  <p><strong>Ubuntu Server (Dev)</strong></p>
  
  <p><a href="https://i.stack.imgur.com/D8BFP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D8BFP.jpg" alt="enter image description here"></a></p>
  
  <p>The only difference for now is the ImageMagick version:</p>
  
  <p><strong>Prod:</strong></p>
  
  <pre><code>Version: ImageMagick 6.7.8-9 2016-06-16 Q16 http://www.imagemagick.org
  Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
  Features: OpenMP
  </code></pre>
  
  <p><strong>Dev:</strong> </p>
  
  <pre><code>Version: ImageMagick 6.7.7-10 2016-06-01 Q16 http://www.imagemagick.org
  Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
  Features: OpenMP
  </code></pre>
  
  <p>What do you recommend guys? Should I match the versions? (downgrade in production)
  Is there other options available?</p>