Commit f6a235bc authored by mercury233's avatar mercury233

fix alpha beta gamma

parent 2ae683a4
...@@ -672,6 +672,10 @@ namespace ImgGen ...@@ -672,6 +672,10 @@ namespace ImgGen
Font spFont = new Font(spfontName, size, txtFont.Style, txtFont.Unit); Font spFont = new Font(spfontName, size, txtFont.Style, txtFont.Unit);
graphics.DrawString(word, spFont, textBrush, dx, dy + (size / 20f), justifyFormat); graphics.DrawString(word, spFont, textBrush, dx, dy + (size / 20f), justifyFormat);
} }
else if (word[0] >= '\x0370' && word[0] <= '\x03ff' && !LiShu) // α-ω等字母
{
graphics.DrawString(word, font, textBrush, dx + (size / 2f), dy, justifyFormat);
}
else if (word[0] >= '\xff10' && word[0] <= '\xff19' && LiShu) // 0-9数字 else if (word[0] >= '\xff10' && word[0] <= '\xff19' && LiShu) // 0-9数字
{ {
graphics.DrawString(word, font, textBrush, dx, dy - (size / 8f), justifyFormat); graphics.DrawString(word, font, textBrush, dx, dy - (size / 8f), justifyFormat);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment