Page 1 of 1

Bold fonts not working in pdf export

Posted: Mon Aug 08, 2022 5:17 am
by danielSlt
Hello,

I am trying to set the fonts in my report via code and I have encountered some problems here.
I'm using Stimulsoft.Reports.Net with the version 2022.1.5.

Basically I tried two different ways of changing the fonts in my report.

1. I added the fonts via code
Image

and changed the font for each text component in code also
Image

I added both the regular and the bold font to the ressource and also changed the settings to allow the import of system libraries.

2. I tried to add the fonts to the resource of the report file and changed the font there. I also allowed the mentioned option here.
The result was that the change of the fonts was completely ignored.

When I export the report as docx file everything works fine using the first option I tried.

Re: Bold fonts not working in pdf export

Posted: Mon Aug 08, 2022 12:20 pm
by Lech Kulikowski
Hello,

Please send us a sample that reproduces the issue for analysis.

Thank you.

Re: Bold fonts not working in pdf export

Posted: Wed Aug 10, 2022 11:39 am
by danielSlt
Hello,

I have attached a sample project which reproduces the issue.
I removed my licence and the used NuGet feed for confidentional reasons.

The fonts are also changed but the issue is the same here.

Re: Bold fonts not working in pdf export

Posted: Wed Aug 10, 2022 7:44 pm
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#7673

Re: Bold fonts not working in pdf export

Posted: Thu Aug 11, 2022 1:33 pm
by Lech Kulikowski
Hello,

We couldn't reproduce the issue. Please check the last version. In the 2022.2.x version, were a lot of improvements with fonts loading.

Thank you.

Re: Bold fonts not working in pdf export

Posted: Thu Aug 18, 2022 10:52 am
by danielSlt
Hello,

thank you for your investigation.
Unfortunately we have to use the mentioned version.

Thank you for your support.

Re: Bold fonts not working in pdf export

Posted: Thu Aug 18, 2022 2:04 pm
by Lech Kulikowski
Hello,

You are welcome.