Bold fonts not working in pdf export
Bold fonts not working in pdf export
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.
- Attachments
-
- DevicePropertiesData.mrt
- (19.2 KiB) Downloaded 97 times
-
- setFonts.JPG (30.43 KiB) Viewed 803 times
-
- setupFonts.jpg (25.78 KiB) Viewed 803 times
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Bold fonts not working in pdf export
Hello,
Please send us a sample that reproduces the issue for analysis.
Thank you.
Please send us a sample that reproduces the issue for analysis.
Thank you.
Re: Bold fonts not working in pdf export
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.
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.
- Attachments
-
- SampleProject.zip
- (27.03 MiB) Downloaded 98 times
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Bold fonts not working in pdf export
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#7673
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#7673
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Bold fonts not working in pdf export
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.
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.
- Attachments
-
- 184140550-2e9a2485-c9fa-434c-a479-9fbe4f3fdcb1.png (33.58 KiB) Viewed 748 times
Re: Bold fonts not working in pdf export
Hello,
thank you for your investigation.
Unfortunately we have to use the mentioned version.
Thank you for your support.
thank you for your investigation.
Unfortunately we have to use the mentioned version.
Thank you for your support.
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Bold fonts not working in pdf export
Hello,
You are welcome.
You are welcome.