using System.Drawing; using System.Drawing.Text; var image = new Bitmap(700, 200); var graphics = Graphics.FromImage(image); graphics.Clear(Color.White); DrawText(graphics, "Arial", 10); DrawText(graphics, "Times New Roman", 60); DrawText(graphics, "Verdana", 110); image.Save("Hinting.png"); void DrawText(Graphics graphics, string familyName, int y) { Brush brush = new SolidBrush(Color.Red); Font font = new Font(familyName, 10, FontStyle.Regular); string text = "The quick brown fox jumps over the lazy dog. 0123456789 ~!@#$%^&*()_+-={}[];':\"<>?/,.\\ยน`"; graphics.TextRenderingHint = TextRenderingHint.ClearTypeGridFit; graphics.DrawString(text, font, brush, 10, y); }