Thanks for reply,
I am not able to reproduce the issue seperatily, However, i could identify that the issue did not come when I changed the font to a non-unicode font. in our application font is not fixed it decided depending on the server response.
Please find the code below.
Pdf pdf1 = new Pdf();
Aspose.Pdf.Section sec1 = pdf1.Sections.Add();
Text text1 = new Text(sec1);
//text1.Margin.Bottom = 15;
//text1.TextInfo.LineSpacing = 3;
//sec1.Paragraphs.Add(text1);
Segment segment1 = new Segment();
segment1.Content = “\n \n\nRNS Number : 3548R \nLegal & General Protected Inv PLC \n19 August 2010 \n \n? \nNOTES TO THE FINANCIAL STATEMENTS \n \n1 Investments at fair value \n Investments are stated at fair value, in accordance with the accounting \npolicies on pages 21 to 32. The net cost of investments excluding deposits is as \n shown below: \n\n”;
segment1.TextInfo.FontSize = 9;
segment1.TextInfo.FontName = “Courier new”;
segment1.TextInfo.IsUnicode = true;
text1.Segments.Add(segment1);
//Instantiate a table object
Aspose.Pdf.Table tab1 = new Aspose.Pdf.Table();
//Add the table in paragraphs collection of the desired section
sec1.Paragraphs.Add(tab1);
//Set with column widths of the table
tab1.ColumnWidths = “100%”;
//Set default cell border using BorderInfo object
//tab1.DefaultCellBorder = new BorderInfo((int)BorderSide.All, 0.1F);
//Set table border using another customized BorderInfo object
// tab1.Border = new BorderInfo((int)BorderSide.All, 1F);
//Create MarginInfo object and set its left, bottom, right and top margins
MarginInfo margin = new MarginInfo();
margin.Top = 5f;
margin.Left = 5f;
margin.Right = 5f;
margin.Bottom = 5f;
//Set the default cell padding to the MarginInfo object
// tab1.DefaultCellPadding = margin;
//Create rows in the table and then cells in the rows
Aspose.Pdf.Row row1 = tab1.Rows.Add();
row1.Cells.Add();
row1.Cells[0].Paragraphs.Add(text1);
row1.Cells[0].Paragraphs.Add(new Text(" "));
Text text2 = new Text(sec1);
//text1.Margin.Bottom = 15;
//text1.TextInfo.LineSpacing = 3;
//sec1.Paragraphs.Add(text1);
Segment segment2 = new Segment();
segment2.Content = "\n \n* Capital Protection Plus terminated on 05 JANuary 2009, Capital \nPlus II terminated on 3 March 2010, terminated on 21 \nApril 2010 and Protected Investments I terminated on 23 December 2009. The \nfinancial statements for these 4 sub funds have therefore been prepared on a \ntermination basis. \n \n \n \n \nNOTES TO THE FINANCIAL STATEMENTS - continued \n \n2 Debtors - 2010 - continued \n \n “;
segment2.TextInfo.FontSize = 9;
segment2.TextInfo.FontName = “Courier new”;
segment2.TextInfo.IsUnicode = true;
text2.Segments.Add(segment2);
Aspose.Pdf.Row row2 = tab1.Rows.Add();
row2.Cells.Add();
row2.Cells[0].Paragraphs.Add(text2);
row2.Cells[0].Paragraphs.Add(new Text(” "));
pdf1.Save(@“c:/Pps_4.6.0.pdf”);