SAP Knowledge Base Article - Public

3123372 - Letter "i" added to words when exporting a report to PDF from Crystal Reports

Symptom

  • Incorrect words.
  • Letter "i" added to many words.
  • Word like: "test" export to PDF as "testi"
  • When exporting a report to PDF format from Crystal Reports, many of the words in the generated PDF document are incorrect, and have the letter "i" added to it.

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020

Reproducing the Issue

  1. In Crystal Reports, create a report based on 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 a specific font.
  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 

Resolution

  • 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
            
               
      • 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)

See Also

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

Keywords

CR, PDF , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020