textFragmentAbsorber replacing text results in incorrect placement

I am replacing all occurrences of text with another string value. The resulting text is sometimes position to the left of the original position. attached are examples and the code.

Hi Andy,


Thanks for contacting support.

Can you please share the input PDF file, so that we can test the scenario in our environment. We are sorry for this inconvenience.

Hi Nayyer,



Thank you for helping me with this issue. Attached is my pdf where I am replacing all of the [WCLM_ “tags” with replacement strings.



Andy

Hi Andy,


Thanks for using our API’s.

I have tested the scenario and have managed to reproduce same problem. For the sake of correction, I have logged it as PDFNET-41580 in our issue tracking system. We will further look into the details of this problem and will keep you posted on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

Hello Nayyer,

I was wondering about the status on this?

Thank you,
Andy

Hi Andy,


Thanks for your patience.

As we recently have noticed earlier reported issue, so its pending for review and is not yet resolved. However the product team will surely consider investigating/fixing it as per development schedule and as soon as we have some definite updates regarding its resolution, we will let you know. Please be patient and spare us little time. We are sorry for this delay and inconvenience.

This topic is 2 and 1/2 years old but the last sentence in the last post says, “Please be patient and spare us little time. We are sorry for this delay and inconvenience.” but there is no follow up.

@mjanulaitis

Thank you for posting.

We are afraid that PDFNET-41580 has not been resolved yet owing to priority and critical tickets. We will be sharing our findings here once significant progress is made in this regard.

Thank you for your response. I am quite confused. The reason I am vetting this software is so I can update PDF files, however, according to this post response files can not be updated because replaced text may cause the fragment to be misplaced. Am I missing something?

@mjanulaitis

Please note that specific problem does not necessarily void a feature, and situations vary based on
different scenarios. We are following up on your scenarios in others threads created by you and will take care of your concerns accordingly.

We appreciate your cooperation in this regard.

The issues you have found earlier (filed as PDFNET-41580) have been fixed in Aspose.PDF for .NET 19.7.