Issue when generate PDF

Hi, I’m having a problem with one application, this application is a code beamer which uses aspose-words-19.2-jdk16.jar, when I’m doing a generation of PDF then some characters are not supported like: Aꞵ42/Aꞵ40

is there any way to customize it, probably font is not supporting it.
Any jvm parameters that could be used?

It seems that the issue you are experiencing with unsupported characters during PDF generation using Aspose.Words may be related to font compatibility. When certain characters are not supported, it often indicates that the font being used does not include those specific glyphs.

To address this issue, you can consider the following steps:

  1. Check Font Embedding: Ensure that the font you are using is embeddable and supports the characters you need. Some fonts may not include all Unicode characters, especially those in the Private Use Area (PUA). You might want to switch to a more comprehensive font that includes the required characters.

  2. Use JVM Parameters: While there are no specific JVM parameters mentioned for this issue, you can ensure that your Java environment is set up correctly to handle font rendering. Make sure that the font files are accessible to your application and that the Java Virtual Machine (JVM) has the necessary permissions to load them.

  3. Replace Unsupported Characters: If certain characters are still not rendering correctly, consider replacing them with alternative characters that are supported by the font you are using. This can be done in the source document before conversion.

  4. Test with Different Fonts: As a troubleshooting step, try using different fonts that are known to support a wider range of characters. Fonts like “Segoe UI Symbol” or other Unicode-compliant fonts may be suitable alternatives.

If you continue to face issues, please provide more details about the specific characters and the font you are using, and I can assist you further.

Sources:
No specific sources were referenced in this response.

@devpa Could you please attach your input and output documents here for testing? We will check the issue and provide you more information.
The problem might occur because from used in your document are not available in the system where the document is converted. The fonts are required to build document layout. If Aspose.Words cannot find the font used in the document, the font is substituted . This might lead into fonts mismatch and document layout due to the different fonts metrics. You can implement IWarningCallback to get notifications when font substitution is performed.
Please see our documentation to learn where Aspose.Words looks for fonts:
https://docs.aspose.com/words/java/specifying-truetype-fonts-location/