Bold fonts not working in pdf export
Posted: Mon Aug 08, 2022 5:17 am
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
and changed the font for each text component in code also
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.
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
and changed the font for each text component in code also
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.