Hi,
I’m facing an issue with unicode characters while using Aspose. The default font selection in my document is Arial. In that font some of the unicode characters are not visible, it comes as boxes. Here is the code
Document doc = new Document(@"D:\temp1\test1.doc");
DocumentBuilder builder = new DocumentBuilder(doc);
StreamReader r = new StreamReader(@"D:\temp1\different texts.txt");
string a = r.ReadToEnd();
builder.InsertHtml(a);
doc.Save("d://temp1//generated.doc");
I’m also attaching the generated document. If I apply Arial Unicode MS font to this text it becomes visible. In MS Word if I paste these unicode characters it automatically selects the appropriate font. Can something like this be done with InsertHtml? What I want is if the text is normal text it should come as Arial but if its some other language characters then it should select Arial Unicode MS font. Is this possible?
Thanks