New to Telerik Reporting? Download free 30-day trial

Characters do not appear correctly in PDF files

Environment

Product Progress® Telerik® Reporting
Rendering Format PDF

Description

The Telerik Reporting rendering mechanisms use native objects for the selected media.

In order to produce a PDF that visualizes content correctly via Telerik Reporting, the report must be designed with TrueType font that is available on the machine where reports are processed and rendered. Reports are processed and rendered server-side.

Possible Causes

  • The used font is not TrueType;

  • The used font does not support the characters you need to display;

  • The used font is not available on the server and/or the client machines.

Solution

  • If the text contains special characters like custom glyphs, icons, you need to check if the font supports them. You may need to switch to a font with Unicode characters support e.g. Arial Unicode MS.

  • If the font cannot be installed on the server machine, where reports are processed and rendered, you can use Telerik Reporting privateFonts settings. The settings are applicable only through the configuration file of the application. You will need to declare a Telerik.Reporting section first.

  • If the font is not available on the client machine, you can fully embed the fonts in the PDF file during its generation. You will need to declare a Telerik.Reporting section first. Then you need to configure the PDF extension and its FontEmbedding parameter:

<Telerik.Reporting>
   <extensions>
     <render>
       <extension name="PDF" >
         <parameters>
           <parameter name="FontEmbedding" value="Full"/>
         </parameters>
       </extension>
     </render>
   </extensions>
</Telerik.Reporting>
"telerikReporting": {
  "extensions": [
    {
      "name": "PDF",
      "description":  "PDF Description",
      "parameters": [
        {
          "Name": "FontEmbedding",
          "Value": "Full"
        }
      ]
    }
  ]
}

Notes

The settings can be edited in code if you export programmatically - Set rendering parameters programmatically.

See Also

PDF Rendering Design Considerations

PDF Device Information Settings

In this article