title: Draw text outline with Freetype
body: <p>I've implemented FreeType in my program, I can draw text with colors and style (Bold, Italic, Underline). </p>
  
  <p>Now I would like to make an outline effect on my text. How can I do it?</p>
  
  <p><a href="https://i.stack.imgur.com/3lPhZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3lPhZ.png" alt="Effect like that"></a><br>
  <sub>(source: <a href="http://freetype-gl.googlecode.com/svn/wiki/images/cartoon.png" rel="nofollow noreferrer">googlecode.com</a>)</sub>  </p>
  
  <ul>
  <li>I've tried to draw the text two times, one larger in black in background and the second in white on foreground, result was wrong.</li>
  <li>I've tried to draw the text two time, one in bold and the second in one on foreground, here again the result was wrong.</li>
  </ul>
  
  <p>I would like to make a test again : Draw the "background" text in "outline" mode and the foreground text in regular mode. What do you think about it?</p>
  
  <p><a href="https://i.stack.imgur.com/Unl7K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Unl7K.png" alt=""></a><br>
  <sub>(source: <a href="http://freetype-gl.googlecode.com/svn/wiki/images/outline.png" rel="nofollow noreferrer">googlecode.com</a>)</sub>  </p>