PDF exporting works incorrectly with code and source from example.
(node.js on Mac OS X 10.15.7)
Test case:
0. install stimulsoft-reports-js
1. Run this https://github.com/stimulsoft/Samples-J ... e/index.js
like 'node index.js'
Actual result: it generates PDF file with broken fonts (all letters on the same position)
expected result: PDF generated as via UI - with correct letters
PDF exporting works incorrectly with code and source from example
PDF exporting works incorrectly with code and source from example
- Attachments
-
- SimpleList.pdf
- (14.48 KiB) Downloaded 117 times
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: PDF exporting works incorrectly with code and source from example
Hello,
Please check that you have added used fonts in the FontCollection.
Also, please check the build 2021.4.1 which will be available in this week.
Thank you.
Please check that you have added used fonts in the FontCollection.
Also, please check the build 2021.4.1 which will be available in this week.
Thank you.
Re: PDF exporting works incorrectly with code and source from example
Hello,
I have the same problem in version 2022.1.4. Is there any fix for this ?
Thank you.
I have the same problem in version 2022.1.4. Is there any fix for this ?
Thank you.
Re: PDF exporting works incorrectly with code and source from example
Hello,
In case anyone else has this problem, the solution is to import all the used fonts in report with
Stimulsoft.Base.StiFontCollection.addOpentypeFontFile("arial.ttf");
It worked for me after placing arial.ttf file in the root of the project.
Have a nice day.
In case anyone else has this problem, the solution is to import all the used fonts in report with
Stimulsoft.Base.StiFontCollection.addOpentypeFontFile("arial.ttf");
It worked for me after placing arial.ttf file in the root of the project.
Have a nice day.
-
- Posts: 790
- Joined: Tue Sep 07, 2021 10:11 am
Re: PDF exporting works incorrectly with code and source from example
Hello
You are welcome.
Please let us know if you need any additional help.
Thank you.
You are welcome.
Please let us know if you need any additional help.
Thank you.