Page 1 of 1

.NET Core Bold Fonts not Processed

Posted: Thu Mar 24, 2022 5:28 pm
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.

Re: .NET Core Bold Fonts not Processed

Posted: Fri Mar 25, 2022 9:19 am
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.