예제 #1
0
 /// <summary>
 /// Generate the font from a font file.
 /// </summary>
 /// <param name="fontFileName">Filename</param>
 /// <param name="fontSize">The size of the font in pixels</param>
 /// <returns>The font</returns>
 public static Font GenerateFromFont(string fontFileName, uint fontSize)
 {
     return(new Font(FontGenerator.GenerateFont(fontFileName, fontSize)));
 }