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 »

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

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

Post by Lech Kulikowski »

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 »

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

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

Post by Lech Kulikowski »

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 »

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: 6163
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply