We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Text with courier new font and size 7 is not displaying properly in generted PDF


We have observed that Courier New font with size 7 is not displaying properly in generated pdf. . We are using following code:

string comments = "

  1. let's
  2. try using a
  3. table

TextInfo textinfoComment = new TextInfo();
textinfoComment.Alignment = AlignmentType.Justify;

Aspose.Pdf.Table tab14 = new Aspose.Pdf.Table();
tab14.DefaultCellPadding = margin;
tab14.ColumnWidths = "5% 95%";

Row row00 = tab14.Rows.Add();
Cell cell = row00.Cells.Add("Conclusion");
cell.ColumnsSpan = 2;
cell.DefaultCellTextInfo = textinfo;

Text commentText = new Text(comments);
commentText.IsHtmlTagSupported = true;

Row row20 = tab14.Rows.Add();

Aspose.Pdf.Cell cell2 = row20.Cells.Add();
cell2.DefaultCellTextInfo = textinfoComment;



Hi Suryav,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for sharing the sample code.

We have found your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: PDFNEWNET-32728. You will be notified via this forum thread regarding any updates against your issue.

Sorry for the inconvenience,

The issues you have found earlier (filed as PDFNEWNET-32728) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.