字库必须是你计算机以经安装过的字体.字库没有当然会变成默认的宋体了.

解决方案 »

  1.   

    字库有安装...除了华文的其它的字体都没有效果了
      

  2.   

    //Font font = new System.Drawing.Font("Arial", 16, (System.Drawing.FontStyle.Bold   System.Drawing.FontStyle.Italic));
    Font font = new System.Drawing.Font("楷体_GB2312", 16, (System.Drawing.FontStyle.Bold));
    System.Drawing.Drawing2D.LinearGradientBrush brush = new System.Drawing.Drawing2D.LinearGradientBrush(new Rectangle(0, 0, image.Width, image.Height), Color.Blue, Color.DarkRed, 1.2f, true);
    g.DrawString(checkCode, font, brush, 2, 2);
      

  3.   

    是因为你的电脑没有安装方正大黑繁体
      

  4.   

    为什么显示不了方正的字体(字体已安装)....
      

  5.   

    有安装方正大黑字体PS里可以看到...