title: How to get better anti-aliasing results in Cairo (examples shown)
body: <p>Building a project using Cairo for graphics processing. Neither of the anti-aliasing options produce a good enough result. I'm using an ARGB32 surface and writing to png.</p>
  
  <p>I have tried using all of the hinting styles but I can see no change in the result.</p>
  
  <p>The best option for text on both white and black will be option 4 but as you can see, it's still not as nice as an output produced from the imagemagick library in example 5.</p>
  
  <p>Any input or suggestions welcome.</p>
  
  <p><strong>1. Using 'ANTIALIAS_DEFAULT'</strong></p>
  
  <p><img src="https://i.stack.imgur.com/rbRZ5.gif" alt="example 1"></p>
  
  <p><strong>2. Using 'ANTIALIAS_NONE'</strong></p>
  
  <p><img src="https://i.stack.imgur.com/A8kJg.gif" alt="example 2"></p>
  
  <p><strong>3. Using 'ANTIALIAS_GRAY'</strong></p>
  
  <p><img src="https://i.stack.imgur.com/e8LEG.gif" alt="example 3"></p>
  
  <p><strong>4. Using 'ANTIALIAS_SUBPIXEL'</strong></p>
  
  <p><img src="https://i.stack.imgur.com/DieK7.gif" alt="axample 4"></p>
  
  <p><strong>5. Using Imagemagick and it's default anti-aliasing</strong></p>
  
  <p><img src="https://i.stack.imgur.com/Y2F8b.gif" alt="example 5"></p>