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

Free Support Forum - aspose.com

MultiLine Line Spacing broken from v17.3.0

The line spacing in multiline fields is broken on some of our form fields if we use a version of Aspose.PDF after v17.2.0. I assume this is related to change PDFNET-42024, “Line Spacing Increased on Multiline Textbox”. This is still broken in Aspose.PDF v19.6.0.

Acrobat Reader handles the form field correctly.

TextField.pdf (3.1 KB)

namespace AsposePlayground
{
    using System.Linq;
    class Program
    {
        static void Main(string[] args)
        {
            var pdfLicense = new Aspose.Pdf.License();
            pdfLicense.SetLicense("Aspose.Total.lic");

            var form = new Aspose.Pdf.Facades.Form("TextField.pdf");

            form.FillField("TextField", string.Concat(Enumerable.Repeat($"abcdefghijklmnopqrstuvwxyz\n", 5)));

            //form.FlattenAllFields();

            form.Save($"TextField-Modified.pdf");
        }
    }
}

@MisterPC

Thank you for contacting support.

We have been able to notice the difference of line spacing when the field is filled with Aspose.PDF and when filled with Adobe Acrobat, as in attached screenshot. Therefore, a ticket with ID PDFNET-46527 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

LineSpacing.PNG

We are sorry for the inconvenience.

Is this issue scheduled to be looked at for the upcoming v19.8.0 release?

@MisterPC

Please note that the ticket has been logged under free support model and will be investigated on first come first serve basis. Therefore, it may take some months to resolve. As soon as we have some definite updates or ETA regarding ticket resolution, we will let you know.

Moreover, we also offer Paid Support , where issues are used to be investigated with higher priority. Our customers, who have paid support subscription, report their issue there which are meant to be investigated urgently. In case your reported issue is a blocker, you may please consider subscribing for Paid Support. For further information, please visit Paid Support FAQs .

We’re using v22…11.0. We’re still seeing this behavior with multi-line spacing. This seems like a bug that you introduced years ago. Is there a fix for this yet? If not, what will paying for more support actually do here? Why not just fix this issue or post the workaround in this forum?

This issue may very well cause us to ask for a refund and find a different product, unless we can find a fix for this.

@rpipkin

We apologize for the inconvenience faced due to this bug. Your concerns have been recorded and the issue has been escalated to the next level of the priority. We will surely inform you as soon as we make some definite progress towards ticket resolution. We again apologize for the delay and the inconvenience.