taibc

How to display font with UTF-8 coding charset in MapControl (C#) ?

Discussion created by taibc on Dec 7, 2012
Hi,

I can display Unicode font without error. But, I got font error when trying to use UTF-8 font.

Are there anyone know how to fix it ?

I used below statements to set font:

IFontDisp pFont = new StdFontClass() as IFontDisp;
pFont.Name = "Times New Roman"; 
IFormattedTextSymbol formatTextSyl = new TextSymbolClass();
formatTextSyl.Font = pFont;

....



Thank you very much !

Outcomes