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.
.NET Core Bold Fonts not Processed
-
- Posts: 991
- Joined: Tue Sep 07, 2021 10:11 am
Re: .NET Core Bold Fonts not Processed
Hello,
Try to add Segoe UI bold font in report resources or use the following code to add font file in your project.
Thank you.
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.