示例#1
0
 public FontKey(System.Drawing.Font font)
 {
     this.string_0 = font.FontFamily.Name.Replace(" ", string.Empty);
     this.string_1 = !FontUtil.IsItalic(font) ? "normal" : "italic";
     if (FontUtil.IsBold(font))
     {
         this.string_2 = "bold";
     }
     else
     {
         this.string_2 = "normal";
     }
 }