Posted by a ceTe Software moderator
Hello Matt,
If you are seeing the english text means the font you are using supports displaying the english. Please make sure that you are using a font which will show your desired text.
Following is the sample code in order to use the font faces.
Document document = new Document();
Page page = new Page();
string strHtmlText = "<font face='SimSun'>ceTe</font> Support";
TrueTypeFont sim = new TrueTypeFont("simsun.ttf");
FontFamily simsun = new FontFamily("SimSun", sim);
FormattedTextArea area = new FormattedTextArea(strHtmlText, 10, 10, 215, 200, FontFamily.Times, 12, true);
area.FontFaces.Add(simsun);
page.Elements.Add(area);
document.Pages.Add(page);
document.DrawToWeb();
Thanks,
ceTe Software Support Team.