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

Free Support Forum - aspose.com

Tiny Fonts on fillField

With our latest Aspose license purchase, the Aspose.Pdf.Kit is no longer supported and the recommendation is to switch to Aspose.Pdf.Facades where the Kit items are now available.
We followed the instructions provided as the applied and now most of the font in the pdfs we are backfilling are tiny, they show as shadows unless you zoom in 500%. Within the PDF the fonts are 9 or 12pt. Auto produces a readable, but small font. We are using Text fields in the pdf files and using the fillField method
to load their content. What is the fix for this, in other words how do we get the font to display in the sizes we defined when the pdf was created.

Hi Randy,


We are sorry for the inconvenience caused. Please share your source code and PDF document, we will test the scenario at our end and will provide you information accordingly.

Best Regards,

Here are the attached sample codes. One uses Facades the other Kit. Our current version is 7.6.

0.0



There is also an image that we have been trying to insert. Also it works in Kit, but not Facades. I don’t know if it is a related problem or not.



Thanks

Randy

Hi Randy,


Thanks for sharing the source code. I have tested the Facades code with latest version of Aspose.Pdf for .NET i.e. 9.4.0, text is being reflecting properly. Please find enclosed sample output. Please download and try latest version of Aspose.Pdf, it will fix the issue.

Moreover, I am looking into image issue and will update you soon.

Best Regards,

The one you gave sent looks good, but the one we created with the new DLL didn’t work. It has an odd small font until you click on the field and then it grows. It was done with facades.



Randy

Hi Randy,


Thanks for your feedback. I have tested the code again and found, on first run form is filled with tiny font but on second run it fills form fine. We have logged a ticket PDFNEWNET-37221 in our issue tracking system for further investigation and resolution. We will keep you updated about the issue resolution progress via this forum thread.

We are sorry for the inconvenience caused.

Best Regards,

Does that include the image fill?

We have reproduced it, but it seem to be consistent. We tried it 5 times and it worked twice as you described.

Oddly enough it with the repeated testing we noticed it sometimes worked on the 1st time and sometime on the third time and sometimes not then. It seems that it works X% of the time and it is just the luck of the draw.

Thanks

Hi Randy,


Thanks for your feedback. Yes, We will investigate the image issue along with the original issue resolution and will update you as soon as it is fixed.

Thanks for your patience and cooperation.

Best Regards,
Hi Randy,

Thanks for your patience. We have investigated the issue and found that Fields in the form have very short rectangles for some reason. for example 11 pts etc. FitIntoRectangle algorithm, which chooses font size in order to fit into rectangle specified for annotation, make font very small. So setting FitIntoRectangle property of fields to false will resolve the font size issue. Hopefully it will resolve the issue.

Field.FitIntoRectangle = false;


Please feel free to contact us for any further assistance.


Best Regards,

That solution worked great. There was also a problem that may have been forgotten. We can not longer insert an image.

We have tried png and jpg. There is not an error it just doesn’t show up.

Hi Randy,


Thanks for your feedback. It is good to know that font issue has been resolved. In reference to Image, we are looking into the matter and will share our findings soon.

Best Regards,

Hi Randy,


We are sorry for the inconvenience caused. After initial investigation we have logged a high priority issue PDFNEWNET-37339 in our issue tracking system to investigate and resolve the missing image issue. We will keep you updated about the issue resolution progress via this forum thread.

Best Regards,

The issues you have found earlier (filed as PDFNEWNET-37221;PDFNEWNET-37339) have been fixed in Aspose.Pdf for .NET 9.6.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.