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

Free Support Forum - aspose.com

Incompatible special characters list - PDF not generated

Kindly share the list of incompatible special characters list for the following version, as we are not able to generate the PDF because it might contains some of the special characters those are not supported by Aspose.

Aspose version: 20.4.1

Exception details:

Exception: Unable to cast object of type ‘#=z1lDwroy8g7oy5bzrAErlsnRmcA40KYw7OUiZOSZ5NyuT’ to type ‘#=zTOAa$3o9fQuS7aSM1ya521fNgxNmWvGvuo2KOIQ=’., StackTrace: at #=zn3Kvbmq4fVTEhKXTi2YV2JXrn9CAOjiCqq$Lbj_trOey.#=z_hBSoosg1W15(List1 #=zXttNtTc=, Int32 #=zfjmWvAI=) at #=zE1U_4QpYEvxfMSW9ztCXGjLgCCk9Zu7xae8YaXCgCCSclzZWJIiNVeo=.#=z_hBSoosg1W15(List1 #=zXttNtTc=, Int32 #=zEWz6n3iCneLI) at #=zE1U_4QpYEvxfMSW9ztCXGjLgCCk9Zu7xae8YaXCgCCSclzZWJIiNVeo=.#=z_hBSoosg1W15(List`1 #=zXttNtTc=) at #=zgzpYHCbcorJ8p$6MYxQKf8lCP1DR_hDLyGtHL8hhee4xyrJ4QQ==.#=zvhZJScKVnSfG()

After investigation, we realized that the document which we used to generate the PDF contained some special characters resulting in a PDF crash when saving the document.

Thank you.


There is no list of incompatible special characters and there is no such know issue in the API. The API needs respective fonts to process the text/characters while saving or modifying the PDF documents. Please make sure that the font which supports these special characters is installed in the system. Also, please try using 21.6 version of the API and if problem still persists, share sample PDF and code snippet with us so that we can test and address the scenario accordingly.