Page 1 of 1

Issue in generated pdf: characters are printed above each other

Posted: Thu Jan 21, 2021 2:12 pm
by ahmad
Issue in generated pdf: characters are printed above each other

Stimulsoft.Reports.JS
Version: 2018.1.8
Build date: 2018.02.19

Environment: Node.js

Result file is attached

Re: Issue in generated pdf: characters are printed above each other

Posted: Thu Jan 21, 2021 9:42 pm
by Lech Kulikowski
Hello,

Please check the last release build.

Thank you.

Re: Issue in generated pdf: characters are printed above each other

Posted: Thu Feb 18, 2021 4:45 pm
by ahmad
The same issue is in the latest version.

Re: Issue in generated pdf: characters are printed above each other

Posted: Fri Feb 19, 2021 7:47 am
by Lech Kulikowski
Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.

Re: Issue in generated pdf: characters are printed above each other

Posted: Sun Feb 21, 2021 1:49 pm
by ahmad
I am sorry. I was wrong.

In my code, I have not written the following line.

Code: Select all

Stimulsoft.Base.StiFontCollection.addOpentypeFontFile("Roboto-Black.ttf");
I thought it is optional for calling a specific font.

When I add that line, It works correctly.

Why is that line mandatory in node.js, while in browser environment there is no need to add it?

Re: Issue in generated pdf: characters are printed above each other

Posted: Mon Feb 22, 2021 10:04 pm
by Lech Kulikowski
Hello,

Yes, you should use that code to export to pdf on the server side, node.js, etc

Thank you.