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

Free Support Forum - aspose.com

Contents of textboxes are truncated when saved as PDF

Attached is a Word document, the PDF created from using Aspose to save the Word document as a PDF and a .JPG file that illustrates the problem. The problem is this: The contents of text fields in Word documents are sometimes truncated on the right side, so that most or all of the last character is cut off.

Is there a setting I set that will eliminate this problem?

Jim McFadden / Unum / Chattanooga, TN, USA

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.

Best regards,

Hi Jim,

As a work around you can try using a fixed width font, such as Courier New . This should mostly stop the truncating from happening in nearly all the form fields. If you can use Courier New as the font for the form fields then this should work well for now. If you need the font to be Arial then you might want to look in using a fixed width Arial font equivalent. You can embed this font into the PDF for publishing.

Here is a link to a fixed width Arial equivalent that I found.

http://www.ascenderfonts.com/font/arial-monospaced-regular.aspx

It’s a True type and fixed width font, so it should work well and you can embed it into the PDF using the option found here:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/aspose.words.saving.pdfoptions.isembedtruetypefontsforasciichars.html

Also on the couple of fields that using a fixed width font doesn't help, you can add an extra space to the default text and this should stop this truncation and any future truncation for a string of the same length. Although this may get in the way if this field is parsed used so it may not be viable option to use.

We will keep you posted on any developments

Thanks,

The issues you have found earlier (filed as 16803) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(69)