Hi ShiJien,
Hi,
Hi ShiJien,
Hi,
Hi ShiJien,
Dear Team/ @tilal.ahmad,
I’m having a legacy code that is using version 9.8.0. I’m also getting a similar kind of error while Creating PDF from HTML document.
Below is the error
Exception Message: The embedded font ‘microsoft jhenghei’ is not found. Make sure that you set correct path to the font file
Source: Aspose.Pdf
StackTrace: at \u008f\u0003\u0013.\u0080\u0005\u000e.\u0016\u009d\u0092(String , Boolean , String , Exception )\r\n at \u008f\u0003\u0013.\u0080\u0005\u000e.FindFont(\u009a\u0005\u000e , String , String , Boolean , Boolean , Boolean , String , Boolean )\r\n at \u008f\u0003\u0013.\u009a\u0005\u000e.\u0093\u001e\u0015(String , String , Boolean , Boolean , Boolean , String , Boolean )\r\n at \u008f\u0003\u0013.\u009a\u0005\u000e.\u0083\u009d\u0092(TextInfo )\r\n at \u008e\u0003\u0013.\u0001\u0004\u000e.\u0002\u009d\u0092(Text , Pdf )\r\n at \u008e\u0003\u0013.\u0001\u0004\u000e.\u0087\u0096\u000f(Pdf , Section , Table , Row , Cell , Text , \u001b\u0003\u000e , \u0005\u0004\u000e , Boolean )\r\n at \u008e\u0003\u0013.\u001e\u0004\u000e.\u0017\u009a(Pdf , Section , HeaderFooter , Table , Row , Cell , Text , \u001b\u0003\u000e , \u0005\u0004\u000e , Boolean )\r\n at \u008e\u0003\u0013.\u0011\u0004\u000e.\u0096\u0097\u000f(Pdf , Section , \u001b\u0003\u000e )\r\n at \u008e\u0003\u0013.\u0089\u0003\u000e.\u0015\u0095\u000f(Pdf )\r\n at \u008e\u0003\u0013.\u0092\u0003\u000e.\u0097\u0095\u000f(\u0015\u0006\u000e , Pdf )\r\n at Aspose.Pdf.Generator.Pdf.Save(Stream stream)\r\n at Aspose.Pdf.Document.\u0010\u0098\u001a(Pdf )\r\n at Aspose.Pdf.Document…ctor(Pdf pdf)
Inner Exception Message: Font ‘microsoft jhenghei’ not found. Please make sure the customer font file is correctly set.
Could you please help me out if this is already fixed in any higher version?
The linked issue was resolved in 9.8 version of the API. However, it seems like your issue is related to the specific font being not present in the system. Please try to install “Microsoft Jhenghei” font in your system and see if it resolves the issue.
Please also note that we provide support on the basis of latest version of the API which is Aspose.PDF for .NET 21.2. Would you please try to test the scenario with 21.2v of the API and let us know if issue still persists by sharing your sample HTML file in .zip format with us. We will test the scenario in our environment and address it accordingly.