diff --git a/knowledge-base/headers-not-displaying-in-viewer-font-substitution-telerik-reporting.md b/knowledge-base/headers-not-displaying-in-viewer-font-substitution-telerik-reporting.md new file mode 100644 index 000000000..ba4732e59 --- /dev/null +++ b/knowledge-base/headers-not-displaying-in-viewer-font-substitution-telerik-reporting.md @@ -0,0 +1,71 @@ +--- +title: Resolving Headers Not Showing in Viewer and Font Substitution Issues +description: Learn how to fix the issue where headers do not appear in the viewer but show in the designer, and address font substitution warnings. +type: how-to +page_title: Headers Not Displaying in Viewer and Font Issues in Telerik Reporting +meta_title: Headers Not Displaying in Viewer and Font Issues in Telerik Reporting +slug: headers-not-displaying-in-viewer-font-substitution-telerik-reporting +tags: reporting, pageheadersection, headers, font, arial, noto-sans +res_type: kb +ticketid: 1704889 +--- + +## Environment + + + + + + + + + + + + +
Product + Reporting +
Version19.2.25.1001
+ +## Description + +I encounter issues where headers placed near the bottom of the [PageHeaderSection](https://docs.telerik.com/reporting/api/telerik.reporting.pageheadersection) are not visible in the viewer but display correctly in the designer. Additionally, the first item in a report sometimes appears with a different font, and a warning message indicates that "Font 'Arial' is substituted with font 'Noto Sans'." + +## Solution + +### Resolving Headers Not Showing in Viewer + +Headers positioned near the bottom of the [PageHeaderSection](https://docs.telerik.com/reporting/api/telerik.reporting.pageheadersection) may not appear in the viewer due to rendering boundaries. Follow these steps: + +1. Move header textboxes higher within the PageHeaderSection. +1. Ensure header elements, such as column headers, are within the visible bounds and not near the bottom edge. + +For detailed guidance, refer to the knowledge base article: [Textbox element not showing or part of text hidden in a page section]({%slug text-cut-or-hidden-in-page-header%}). + +### Resolving Font Substitution Issues + +To address the "Font 'Arial' is substituted with font 'Noto Sans'" warning: + +1. Check if the Arial font is available on your server or container. If not, copy the font to the server or container using the following Docker command: + + ``` + + docker cp C:\Windows\arial.ttf CONTAINER_ID:/usr/share/fonts + + ``` + +1. Ensure the font is embedded in the report using the [privateFonts]({%slug telerikreporting/using-reports-in-applications/export-and-configure/configure-the-report-engine/privatefonts-element%}) configuration. + +1. Use the same font across all report items to prevent inconsistencies. + +Refer to these articles for further details: +* [The first instance of a report item is with a different font than the rest]({%slug font-is-incorrect-on-first-render-azure%}) +* [The font of the first few report items is not consistent with the rest]({%slug inconsistent-font-of-the-first-few-report-items%}) + +## See Also + +* [PageHeaderSection Overview](https://docs.telerik.com/reporting/api/telerik.reporting.pageheadersection) +* [Textbox element not showing or part of text hidden in a page section]({%slug text-cut-or-hidden-in-page-header%}) +* [The first instance of a report item is with a different font than the rest]({%slug font-is-incorrect-on-first-render-azure%}) +* [The font of the first few report items is not consistent with the rest]({%slug inconsistent-font-of-the-first-few-report-items%}) +* [privateFonts Configuration]({%slug telerikreporting/using-reports-in-applications/export-and-configure/configure-the-report-engine/privatefonts-element%})