Aspose words indent and pages mismatch issue

We are using Aspose Words 22.10 with JDK version 8.

  1. Indent in not correctly rendered it is always shows 11, on both Windows and CentOS7.
  2. There are no of pages mismatch on CentOS 7.
    We have copied all the fonts from Windows to CentOS, do you still see anything missing?

Attached Input/Output here, (171.3 KB)

@ rutuja.mahajan

  1. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

     Issue ID(s): WORDSNET-24880

    You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

  2. I see the difference in fonts in the PDF document you have attached. So it looks like the fonts used in your original file are not available in your Linux environment. Please try implementing IWarningCallback to find out what fonts were substituted.

With callback implementation we got the missing fonts and installed all those on our environment.
Still there is difference in input and output, If you observed the no of lines, specially on the last page , Output2.pdf (113.1 KB)

@rutuja.mahajan There are still difference in fonts using in your PDF documents produced on Linux and Windows machines:

I do not have EngraversGothic BT font installed on my side. And it looks like this font is not available on your Linux machine.
If use the following fonts for conversion: (4.7 MB)

The result of conversion is identical on Windows and CentOS Linux (I have used Docker for testing):
linux.pdf (115.9 KB)
windows.pdf (115.9 KB)

Hi, Now no of lines mismatch issue is resolved on our Linux system.
We can keep this topic open for Issue ID(s): WORDSNET-24880.

@rutuja.mahajan The issue WORDSNET-24880 is already resolved in the current codebase. The fix will be included into the next 23.4 version of Aspose.Words. We will be sure to let you know once it is released.

1 Like

May I know the tentative date? will it be available in April?

@rutuja.mahajan Yes, 24.4 .NET version of Aspose.Words will be released with a couple of days, Java version is usually released in a couple of weeks after .NET version. We will be sure to let you know once it is released.

1 Like

The issues you have found earlier (filed as WORDSNET-24880) have been fixed in this Aspose.Words for Java 23.4 update.