Jump to content
Joost Miltenburg

SaveAsPDF corrupted font or layout ?

Recommended Posts

LS,

We recently migrated from FM14 to FM15 and suddenly some invoices come out strange after the saveAsPdf script step . ( see pic ). When in preview mode everything  seems to be ok and is printed to a printer ok.

Theme : Classic, Font used : Calibri size 11 and 12.

Problem occurs on Mac 10.11 and Win10 with FM15.

When I do a print ( to preview ( mac )) and then save as pdf everything is also ok, so it seems to be related to the FM pdf renderer.

However, not every invoice has this issue, but I wonder how data could cause this behaviour.

Best regards !

factuur_saveAs.png

Share this post


Link to post
Share on other sites

15.0.2? I'd explore the possibility of a corrupted font.

Share this post


Link to post
Share on other sites

Like I said, it happens in 15v1 as in 15v2 on Mac and Win.

Printing to pdf with a different tool, eg. Microsoft PDF writer ( win10 ) or Print to Preview and then Export as Pdf works fine.

Current font : Calibri. 

When I change te font to Arial, the problem seems to disappear.

Share this post


Link to post
Share on other sites

Hi Joost, 

How can a user paste a 0x0 character in a field, and is that somehow visible in a regular layout, or did you have to find out by using the 'Code ( text )' function?

Ernst

 

Share this post


Link to post
Share on other sites

Hi Ernst,

this usually is done by copy/pasting data from an email. A reference number for example. It is not directly visible in FM. If you move from character position to character position in the FM field you'll notice that you have to press the arrow key twice.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×

Important Information

By using this site, you agree to our Terms of Use.