SAP Knowledge Base Article - Public

1291546 - Arial Unicode MS font displaying issue after being exported from CR to PDF

Symptom

  • the format of text written with Arial Unicode MS font appears different between PDF and Crystal Report
  • the font and format seem good when being previewed in the Crystal Report Developer
  • but after exporting the CR report to PDF, it leaves too much spacing when aligned left and leaves too much spacing between words when aligned justified

Environment

  • Windows based operating system
  • Crystal Reports XIR2 SP4

Reproducing the Issue

  1. Install Arial Unicode MS font on the PC where is installed Crystal Reports XI Release 2 with SP4
  2. Create a new simple CR report based on A4 page size.
  3. Insert two text boxes to the report. These two boxes should be large enough to fill the full A4 page.
  4. Input more than one row of words in the first text box with Arial Unicode MS font. Modify the text format as 'Align Left'.
  5. Input more than one row of words in the second text box with Arial Unicode MS font. Modify the text format as 'Justified'.
  6. Preview the result in the Crystal Reports XI R2 SP4.
  7. Export the report to PDF.
  8. Compare the PDF displaying with the CR Developer displaying.

Cause

  • defect tracked and resolved under ID ADAPT01116741

Resolution

***WARNING***: The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems. Use the Registry Editor at your own risk. Refer to Note 1323322 for more information.

 

  1. Install Crystal Reports XI Release 2 Service Pack 5.
  2. Run 'regedit' command on Windows to open the Registry Editor.
  3. Find "HKEY_LOCAL_MACHINE -> SOFTWARE -> Business Objects -> Suite 11.5 -> Crystal Reports", create a new key named 'Export' under 'Crystal Report'.
  4. Navigate to 'Export' and create a new key named 'PDF' under 'Export'.
  5. Navigate to 'PDF' and create two DWORD vales named 'ForceLargerFonts' and 'UsePrecisePositioningForText'. Then set their values to 1.

Keywords

Arail Unicode MS, Arial, Unicode, font, CR, Crystal Report, export, PDF, align, left, justify, XI R2, display , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Bug Filed

Product

SAP Crystal Reports XI R2