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

Free Support Forum - aspose.com

In ubuntu18.04 version, the cell text in the pdf table is too long and an error will be reported

Document doc = new Document();
Page page = doc.Pages.Add();
Table table = new Table() { ColumnWidths = “450” };
table.Rows.Add().Cells.Add(“Condition: hydrogenchloride;sodium hydrogencarbonate;Sealed” +
“Procedure: Example 31 4 - (3 - Bromo - phenyl) - 2 - methyl - 8 - trifluoromethyl - quinazoline To a stirred solution of(2 - amino - 3 - (trifluoromethyl)phenyl)(3 - bromo - phenyl)methanone(1.rifluoromethyl - quinazoline To a stirred solution of(2 - amino - 3 - (trifluoromethyl)phenyl)(3 - bromo - phenyl)methanone(1.00 g, 2.9 mmol), in acetonitrile(15 mL) a t 0°C.was bubbled HCl(gas) until saturation.The vessel was sealed and heated for 14 h at 50°C.After 14 h the reaction was cooled and concentrated in vacuo to give an oily residue, which was take n up in NaHCO3 solution(sat) and extracted with ethyl acetate(2*50 mL). The combined extracts were dried(MgSO4) and concentrated in vacuo.Chromatography on silica gel(15/85 to 30/70 E/H gradient) gave the title compound as a white solid(0.90 g).”);
page.Paragraphs.Add(table);
//保存
MemoryStream ms = new MemoryStream();
doc.Save(ms, SaveFormat.Pdf);

When I use this code to execute it on Linux, the following error will be prompted.
企业微信截图_16067998293453.png (77.2 KB)

I hope this problem can be resolved as soon as possible. This problem appears in the PDF20.11.0 version, and the previous versions also have this problem

@ljq

Would you please make sure that all windows fonts are installed in your system? In case issue still persists, please let us know. You can install Microsoft Essential Fonts or simple copy fonts from Windows to Linux fonts directory.