Flattened PDF losing certain field values

I have the following code that can produce a flattened PDF with losing field values:

using (var doc = new Document("intput.pdf"))
{
    doc.Flatten();
    doc.Save("output.pdf");
}

The output.pdf has all of the field values except:

  1. the amount entered in 2a after “in the amount of”
  2. the amount entered in 3 after “Past due rent in the amount of”

image.png (74.9 KB)

Here is the sample PDF document: input.pdf (470.1 KB)

This is reproducible in version 22.8.0.

@bvadala

We have logged this problem in our issue tracking system as PDFNET-52579. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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