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

Free Support Forum - aspose.com

Text position Alignment is not correct while replacing text in PDF

We are tying to replace the text in PDFA file. Th PDFA file consists template with all keywords that we are interested to replace.
After replace the keyoword the output PDFA file changed text posiiton alignment.
That it overwrite the values from 2nd page.

Please check the attached input and output pdf.
Version of Aspose PDF API for JAVA is 18.10(also tested on 18.7)

input.pdf (119.0 KB)
output.pdf (205.4 KB)

Here is input jar and files we used:
Inputfiles_Jar.zip (125.7 KB)

Password for attachment : 1234

Thank you


Thank you for contacting support.

Would you please share a sample application containing SSCCE code, instead of the .jar file so that we may try to reproduce and investigate it in our environment. Moreover, before sharing requested data, please ensure using Aspose.PDF for Java 19.3.