Hi,I have created a word file using Syncfusion dll through .net code. and i am just displaying the below html text in the word document using paragraph.AppentHtml method.
<span style="font-family: 'Segoe UI'; direction: ltr; word-wrap: break-word; color: #000000; font-size: 10pt;" dir="ltr">你好</span>Help
In word document i am able to see all the text and all the style is applied in the text.
Now i have converted this word file into the PDF file using the below code. Now in the PDF file text '你好' is not visible only Text 'Help' is visible. But if i select all text from the generated PDF file and paste it in the Notepad file then complete text '你好 Help' is copied. It means complete text is exist in the PDF but it is not visible. Now what i did I have removed the font family 'font-family: 'Segoe UI'' from the above html text. and i did again the same thing, now complete text is visible in the PDF file. it means issue is with the font family.And this font family is listed in font family list of the word document so it means it is exist in the system so we can not say that font family is not exist. Please help me on this what i need to do because we can not remove the font family from the html text.
DocToPDFConverter converter = new DocToPDFConverter();
PdfDocument pdfDoc = converter.ConvertToPDF(wordDoc);
pdfDoc.Save("RFPQuoteSlip_" + DateTime.Now.ToString() + ".pdf", Response, HttpReadType.Open);