I suspect there is a character in your invoice which is causing this issue. Any chance you could send your accounting file to my email lubos@manager.io ? If I can reproduce this issue locally, I will be able to fix it.
I just upgraded Manager (Server Edition) to version 18.9.60 and I have the same problem with reports (I tried profit and loss statement).
The only way I can get a readable report is by using the Print button. The PDF button and the emailing function give me the same unreadable document.
Tried on 3 different businesses with the same result.
I’m using Manager in French. I guess it might be caused by some “é” or “è” used in French.
It was working perfectly with the previous version (but I did not update Manager for a few months).
Hi @lubos
following up on the problem to inform you the following:
PDF is created ok and seen ok on my laptop. Using Linux Mint 18.3
The problem rises when it comes to email.
I am using google smtp from manager to send the attachments; the pdf gets garbled after it is sent through email.
I also tried to send the invoice after I saved it as pdf in my laptop; same problem again in this case.
To be most certain, I tried to send the invoice pdf through office365 mail server. The problem again is the same.
So something is being done when the invoice is attached in an email.
Hope this information may help you better to understand and isolate the problem
I tend to believe that the problem lies in the change of fonts
In my screenshots above, the previous (good) version was with Type 1 fonts while the last version PDFs are with TTF…
Suggest you check this out
tried to modify the plain theme by setting font to Arial
it seems that the program accepted my change only for company name which now appears correctly in the pdf
the properties of the pdf output now show
What we have here is Arial TTF (CID) and Arial Bold TTF (without the CID)
I am almost convinced that here’s the problem, the (CID) version of TTF which I told you @Lubos, what do you think?
I have installed the latest version (18.9.83) on a windows machine, loaded my company and sent email with pdf invoice.
It works fine!
So @lubos it is clear now that the problem is on Linux version? Hope this helps
sorry for the delay in posting.
I took the default theme (practically any theme should work) and added code “font-family:Nimbus Roman” in all table codes. FYI this font is included in Linux default fonts and it’s Type 1 font.
When I issue a pdf document, it switches font to Helvetica, Type 1 font which is readable (tested successfully) in any windows or linux machine. It was sent through email successfully