.NET Core Bold Fonts not Processed

Stimulsoft Reports.NET discussion
Post Reply
cmruppe
Posts: 1
Joined: Thu Mar 24, 2022 5:15 pm

.NET Core Bold Fonts not Processed

Post by cmruppe »

When we take a report design and run it through our Windows .NET 4.8 application, Font - "Segoe UI, Bold" works for PDF export (it is Bold). When we take the same report design and run it through .NET Core 3.1, the report outputs as "Segoe UI" for PDF (not Bold). Excel export works as expected.

Other font families work: Arial, Calibri, etc. Seems to be a subset of Font Families not working.
Max Shamanov
Posts: 992
Joined: Tue Sep 07, 2021 10:11 am

Re: .NET Core Bold Fonts not Processed

Post by Max Shamanov »

Hello,

Try to add Segoe UI bold font in report resources or use the following code to add font file in your project.

Code: Select all

 StiFontCollection.AddFontFile(@"C:\Segoe UI Bold.ttf");

Thank you.
Post Reply