g.DrawString 不能绘出中文

            g.DrawString(
               "\u4e2d\u6587Test",   //直接用中文也试过了。总是一个框
               new Font("Arial", 14),//10相当于12px
               new SolidBrush(Color.Red),
               new PointF(3, 3)//绘制位置,left,top
               );

我怀疑字体有问题。

服务器的字体:

Arial
Arial Black
Comic Sans MS
Courier New
Estrangelo Edessa
Franklin Gothic Medium
Gautami
Georgia
Impact
Latha
Lucida Console
Lucida Sans Unicode
Mangal
Marlett
Microsoft Sans Serif
MV Boli
Palatino Linotype
Raavi
Shruti
Sylfaen
Symbol
Tahoma
Times New Roman
Trebuchet MS
Tunga
Verdana
Webdings
Wingdings

开心每一天1111
浏览 660回答 3
3回答

慕村9548890

应该是字体问题,Arial是英文字体

慕妹3242003

装个"宋体“过去就完事了

慕的地10843

字体和编码都可能是问题
打开App,查看更多内容
随时随地看视频慕课网APP