Load font and get the characters in C#
问题 I just need to know how I can load a font file and get the characters in an array of data and then call one particular character. var families = Fonts.GetFontFamilies(@"C:\WINDOWS\Fonts\Arial.TTF"); foreach (FontFamily family in families) { } 回答1: Hopefully this will give you the idea (untested). Take care to use using or explicitly dispose your graphics objects: using System.Drawing; using System.Drawing.Imaging; ... // Create your bitmap - 100x100 pixels for example using (Bitmap b = new