Issue in generated pdf: characters are printed above each other

Stimulsoft Reports.JS discussion
Post Reply
ahmad
Posts: 3
Joined: Thu Jan 21, 2021 2:00 pm

Issue in generated pdf: characters are printed above each other

Post by ahmad » Thu Jan 21, 2021 2:12 pm

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
Attachments
SimpleList.pdf
(18.94 KiB) Downloaded 15 times
Lech Kulikowski
Posts: 3437
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » Thu Jan 21, 2021 9:42 pm

Hello,

Please check the last release build.

Thank you.
ahmad
Posts: 3
Joined: Thu Jan 21, 2021 2:00 pm

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

Post by ahmad » Thu Feb 18, 2021 4:45 pm

The same issue is in the latest version.
Lech Kulikowski
Posts: 3437
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » Fri Feb 19, 2021 7:47 am

Hello,

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

Thank you.
ahmad
Posts: 3
Joined: Thu Jan 21, 2021 2:00 pm

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

Post by ahmad » Sun Feb 21, 2021 1:49 pm

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?
Lech Kulikowski
Posts: 3437
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » Mon Feb 22, 2021 10:04 pm

Hello,

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

Thank you.
Post Reply