SAP Knowledge Base Article - Public

2534523 - Words are incorrectly exported to PDF format from Crystal Reports when using the font Calibri

Symptom

  • Words incorrect.
  • Letter "i" or "a" or "f" added to many words.
  • Word like: "test" export to PDF as "testie"
  • When exporting a report from Crystal Reports to PDF format that contains text formatted to uses the font Calibri, many of the words in the PDF document generated are incorrect.

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020
     
  • SAP Crystal Reports, for Visual Studio 

Reproducing the Issue

  1. In Crystal Reports, create a report off any data source.
  2. Insert a database field, or text object on the report that contains text.
  3. Format the database field or text object to use the font Calibri
  4. Export the report to PDF format
  5. When opening the PDF document generated, notice many of the words are incorrect, like:
      
        - quotes, becomes: quoties
        - test, becomes: tiest 
        - date, becomes: datie 

Cause

  • This issue has been tracked under SAP Note 2524737

Resolution

  • This issue has been resolved in following product updates:
     
    • Crystal Reports:
      • Crystal Reports 2013 - Support Pack 11
      • Crystal Reports 2016 - Support Pack 05
            
    • SAP BusinessObjects Business Intelligence Platform:
      • SAP BusinessObjects Business Intelligence platform 4.1 - Support Pack 11
      • SAP BusinessObjects Business Intelligence platform 4.2 - Support Pack 05
              
    • Crystal Reports for Visual Studio:
      • Crystal Reports for Visual Studio 2010 - Support Pack 21
                
          
              
  • Another solution is to add the registry key: UseCustomEncoding, and set the value to: 0 (zero)
                       
    WARNING The following resolution involves editing the Microsoft Registry. Using the Microsoft Registry Editor incorrectly can cause serious problems. Use the Microsoft Registry Editor at your own risk. For more information see the SAP Knowledge Base Article 1323322
       
     
    1. Open the Microsoft Registry Editor.
      (In Microsoft Windows, under the menu Start, select Run, and type: regedit) 
         
    2. In the Microsoft Registry Editor, navigate to the path corresponding to the version of the product used:
         
      • Crystal Reports 2013, 2016:
         
        • For 32bit version of MS Windows:
          HKEY_LOCAL_MACHINE\SOFTWARE\SAP Business Objects\Suite XI 4.0\Crystal Reports\Export\PDF
            
        • For 64bit version of MS Windows:
          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\Export\PDF    
             
            
      • Crystal Reports 2020:
           
        • HKEY_LOCAL_MACHINE\SOFTWARE\SAP Business Objects\Suite XI 4.0\Crystal Reports\Export\PDF
                     
                  
      • SAP BusinessObjects Business Intelligence Platform 4.1, 4.2
         
        • For 32bit version of MS Windows:
          HKEY_LOCAL_MACHINE\SOFTWARE\SAP Business Objects\Suite XI 4.0\Crystal Reports\Export\PDF
            
            
        • For 64bit version of MS Windows:
          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\Export\PDF 
              
            
      • SAP BusinessObjects Business Intelligence Platform 4.3
           
        • HKEY_LOCAL_MACHINE\SOFTWARE\SAP Business Objects\Suite XI 4.0\Crystal Reports\Export\PDF
            
              
      • Crystal Reports for Visual Studio:
           
        • For 32bit version of MS Windows:
          HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Export\PDF
              
        • For 64bit version of MS Windows:
          HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Export\PDF
           
            
      • Note: The last part of the path may not exist. If it is the case, simply add the missing keys.    
           
    3. Right click on the PDF key, and select: "New - DWORD (32bit) Value"
        
    4. Set the name to: UseCustomEncoding
        
    5. Set the value to: 0
         
    6. For the change to take effect, restart the application.
         
      • For Crystal Reports:
        • Close and re-open Crystal Reports.
             
      • For SAP BusinessObjects Business Intelligence Platform:
        • Restart the Server Intelligent Agent (SIA)

Keywords

Calibri font, "a", "i", "t", usp10 1.6 CR, xport, Calibri, PDF, CRYSTAL REPORTS FOR VS 2010 SP021, BI PLATFORM SERVERS 4.1 SP011, BOP BI PLATFORM SERVERS 4.2 SP005,SBOP BI PLATFORM SERVERS 4.3 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Bug Filed

Product

SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020 ; SAP Crystal Reports, developer version for Microsoft Visual Studio