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

345
0
12-07-2012 12:19 AM
TaiBui
by
Occasional Contributor II
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 !
0 Kudos
0 Replies