I insert chinese characters into PDF files via aspose.pdf.when I change the style of chinese characters into "segment2.TextInfo.IsTrueTypeFontBold=true; segment2.TextInfo.IsTrueTypeFontItalic=true;",the style of chinese characters is not changed.how to deal with it?
my test code:
Pdf pdf = new Pdf();
Section sec1=pdf.Sections.Add();
Text text2 = new Text(sec1);
text2.Margin.Top = 30;
Segment segment2 = text2.Segments.Add("this is a中国人民 test");
segment2.TextInfo.TruetypeFontFileName="C:\\WINDOWS\\Fonts\\STZHONGS.TTF";
segment2.TextInfo.IsUnicode=true;
segment2.TextInfo.RenderingMode=new RenderingMode();
segment2.TextInfo.FontSize = 80;
segment2.TextInfo.Color = new Aspose.Pdf.Color("Red");
segment2.TextInfo.IsTrueTypeFontBold=true;
segment2.TextInfo.IsTrueTypeFontItalic=true;
segment2.TextInfo.IsOverline=true;
sec1.Paragraphs.Add(text2);
pdf.Save("test.pdf",SaveType.OpenInAcrobat,Response);