Hi @Fiona , Welcome to Microsoft Q&A.
I'm not an expert in Mongolian, so I can only give you my opinion.
The character "ᠭ᠌" can only appear at the end of a sentence, and if it appears in a word, there will be a drawing error.
The character "ᠭ᠌" has three variants. Their encodings are different, and I can't distinguish them from the appearance.
You need to use replace to replace all "ᠭ᠌" with "ᠭ".
StringFormat myMeasureFormat = new System.Drawing.StringFormat(System.Drawing.StringFormat.GenericTypographic);
myMeasureFormat.FormatFlags = System.Drawing.StringFormatFlags.FitBlackBox | System.Drawing.StringFormatFlags.MeasureTrailingSpaces;
myMeasureFormat.FormatFlags |= StringFormatFlags.DirectionVertical;
string originalText = "ᠭᠭ᠌ᠭᠭ᠌ᠭᠭ᠌ᠭᠭ᠌ᠭᠭ᠌ᠭᠭ᠌ᠭᠭ᠌ᠭᠭ᠌ᠭᠭᠭᠭ᠌ᠭᠭ᠌ᠭᠭ᠌ᠭ";
string modifiedText = originalText.Replace("ᠭ᠌", "ᠭ");
// e.Graphics.DrawString("ᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭᠭ ᠭᠭᠭ ᠮᠤᠩᠭᠤᠯ ᠬᠡᠯᠡ", new Font("Mongolian Baiti", 12), new SolidBrush(Color.Red), new PointF(0, 0), myMeasureFormat);
e.Graphics.DrawString(modifiedText, new Font("Mongolian Baiti", 12), new SolidBrush(Color.Red), new PointF(0, 0), myMeasureFormat);
Best Regards,
Jiale
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.