Private Font needs to be installed on clients?

1 Answer 10 Views
Report Viewer - MVC
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Stefan asked on 26 Aug 2025, 06:38 AM

We use a private font in our reports as described here: Prevent line break for certain characters (whitespace, hyphen, colon) in Reporting | Telerik Forums

This works well locally on the development machine, but once deployed on the server the font is not working correctly for other clients.

We observed the following behaviour:

  • ReportViewer: does not show correct font
  • Telerik PrintReview: does not show correct font
  • Browser Print Review & Print: show correct font
  • PDF-Export: shows correct font

We found this article, where it says that the font should be installed on the clients? Configuring the privateFonts Element - Telerik Reporting

So, do we need our font to be installed on the clients for it to work in the ReportViewer?

Is there a way to change the font in the report without installing it to the clients?

 

Kind regards.

1 Answer, 1 is accepted

Sort by
1
Accepted
Ivet
Telerik team
answered on 28 Aug 2025, 11:37 AM

Hello Stefan,

Thank you for the detailed description of the scenario.

For server-side rendering and export formats (such as PDF), the font does not need to be installed on the client machines. You can use the privateFonts configuration in your application’s configuration file to make the font available to the report engine. This allows the font to be embedded in exported files like PDFs, ensuring correct display regardless of client font installation.

If the font is not a standard web-safe font, the browser must be able to download it as a web font (using CSS @font-face), or it must be installed on the client machine. Otherwise, the browser will substitute a default font.

The privateFonts configuration only affects server-side rendering and export. It does not automatically make the font available to the client browser for preview or printing from the ReportViewer.

Regarding the ReportViewer and the PrintReview. They do not show the correct font unless the font is provided as a web font or installed on the client.

To avoid requiring font installation on every client, provide the font as a web font in your application and reference it in your CSS. This way, browsers can download and use the font for displaying reports in the ReportViewer.

I hope the above information will be useful. Let me know if you have other questions.

Regards,
Ivet
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Stefan
Top achievements
Rank 2
Iron
Iron
Iron
commented on 29 Aug 2025, 11:11 AM

Hello Ivet,

after including the web-font, the ReportViewer is showing the correct font on the clients.

Thank you very much. :)

 

Kind regards.

Tags
Report Viewer - MVC
Asked by
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Ivet
Telerik team
Share this question
or