我在页面上调用验证码显示不了<IMG src="CheckCode.aspx"> 问题出在Line 95: Font font = new System.Drawing.Font("Arial", 12, (System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)); 提示:Exception Details: System.ArgumentException: Font '?' cannot be found. 应该是字体引用不了的意思。
System.Drawing.Font font = new System.Drawing.Font("楷体_GB2312", 16, (System.Drawing.FontStyle.Bold)); 检查其他字体
问题出在Line 95: Font font = new System.Drawing.Font("Arial", 12, (System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic));
提示:Exception Details: System.ArgumentException: Font '?' cannot be found.
应该是字体引用不了的意思。
检查其他字体
会不会是我没有读取字体目录的权限呢?
要重新定义Font吗?