title: corrupted text characters with Imagemagick label:
body: <p>I'm running into a strange bug that I cannot reproduce locally. But on Google Cloud Functions, the same text usually does the same thing, but it too has been somewhat of a rolling issue - sometimes it happens, then magically goes away.</p>
  
  <p><a href="https://i.stack.imgur.com/ibkUa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ibkUa.png" alt="corrupted character sample"></a></p>
  
  <p>Here's a sample of the convert call and the resulting corrupt text:</p>
  
  <pre><code>convert -background none -stroke "rgb(0, 0, 0, 0.0)" -fill "rgba(255, 255, 255, 1)" -font ./fonts/FrederickatheGreat-Regular.ttf -pointsize 68 label:"Carly" -trim \( +clone -background "rgba(135, 138, 140, 0.59)" -shadow 80x8+8+10 \) +swap -background none -layers merge +repage -rotate 0 /tmp/1057522377634683.png
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Nj8KZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nj8KZ.png" alt="The above code made the &quot;Carly&quot; text and the same code made the &quot;Sarah&quot; but with the label changed."></a></p>
  
  <p>The version of ImageMagick running on GCF is:</p>
  
  <blockquote>
    <p>convert -version: Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-15
    <a href="http://www.imagemagick.org" rel="nofollow noreferrer">http://www.imagemagick.org</a> Copyright: Copyright (C) 1999-2014
    ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib
    cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma
    openexr pangocairo png rsvg tiff wmf x xml zlib</p>
  </blockquote>
  
  <p>I have the same version of Imagemagick on my local machine, but cannot reproduce the text corruption. I suspect it could be with the compile version that's live on Google (note the 2017-7-15 compile date)</p>
  
  <p>I'm hoping someone has run into this in the past and knows what an easy fix is - is it an issue with supplying RGBA values, .png output type, etc.</p>