title: C# draw a string pixel perfect
body: <p>I'm trying to draw a string using either textrenderer.drawtext, graphics.drawstring or graphicspath.addstring - the main purpose is to extract all fonts to bitmaps to edit them and use them as bitmaps with shaders in a game.</p>
  
  <p>With textrenderer.drawtext and graphics.drawstring, I get a padding on top of varying degrees - so I try graphicspath.addstring. I extract the font family's ascent height and descent height, but they are wildly unusable with emheight. (using ascent and descent with emheight is how microsoft suggest you do what I am trying to do - via <a href="http://msdn.microsoft.com/en-us/library/xwf9s90b%28v=vs.110%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/xwf9s90b%28v=vs.110%29.aspx</a>. Has anyone successfully ever draw pixel perfect fonts using C#? Every time I ever try or look it up, textrenderer and graphics always' padding always screwed up drawing and this new graphicspath method seems to have an issue with using a specific scale.</p>