Issue with converting Word.docx to PDF

Hello we have expired dev license (in progress to renew).
When we do convert Woprd to PDf we are getting bad checkboxes section.
Is that limitation re expired license or bug in Aspose code?

@milazora

It seems that you are experiencing issues with converting a Word document to PDF, specifically with the rendering of checkboxes. This could potentially be related to the expired development license, as certain features may be limited or not function correctly without a valid license.

To determine if the problem is indeed due to the expired license or a bug in the Aspose code, you can try the following steps:

  1. Check License Status: Ensure that your license is renewed and valid. An expired license can lead to limitations in functionality, including rendering issues.

  2. Update Aspose.Words: Make sure you are using the latest version of Aspose.Words. Sometimes, bugs are fixed in newer releases, and updating might resolve your issue.

  3. Test with a Valid License: If possible, test the conversion with a valid license to see if the issue persists. This will help you confirm whether the problem is related to the license.

  4. Review Warning Messages: Implement a warning callback to capture any warnings during the conversion process. This can provide insights into what might be going wrong. You can set up a warning callback like this:

    class HandleDocumentWarnings implements IWarningCallback {
        public void warning(WarningInfo info) {
            System.out.println("Warning: " + info.getDescription());
        }
    }
    
    Document doc = new Document("path/to/your/document.docx");
    doc.setWarningCallback(new HandleDocumentWarnings());
    doc.save("output.pdf");
    
  5. Consult Documentation: Review the Aspose documentation for any specific notes regarding checkbox rendering or any known issues related to your version.

If after these steps the issue remains unresolved, consider reaching out to Aspose support with detailed information about your document and the specific problems you are encountering. They may be able to provide further assistance or identify if it is a bug in the library.

If you have any additional questions or need further assistance, feel free to ask!

@milazora No, this is definitely is not limitation of the expired license. Usually, the such problems occur because the fonts used in your input document are not available on the machine where document is converted to PDF. 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 differences 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/net/specifying-truetype-fonts-location/

If after providing the required fonts, the problem still persists, please attach the problematic input and output documents here for testing. We will check the issue and provide you more information.