[Crystal Report] SAP Crystal Report runtime engine for .NET Framework Report font size is decreased when exporting to PDF

I have received the ticket that the Report font size is decreased when exporting to PDF file. When I investigate this ticket environment/components are

  • .NET 4.7.2 Desktop Application (32 bits / 64 bits)
  • SAP Crystal Report runtime engine for .NET Framework 13.0.23.2819

Note: This is a known issue with Crystal Reports which reduces the font size when it exports to a PDF file

Solution

To fix the problem, just follow steps below by adding ForceLargerFonts registry keys.

- On 32 bits Windows

  1. Select Start > Run. Type regedit and click OK.
  2. Expand Registry Path HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Export
  3. Right-click the Export folder and select New > Key. This creates a new folder. Name the new folder Pdf.
  4. Right-click the Pdf folder and select New > DWORD Value.
  5. Name this 'ForceLargerFonts' with no quotes.
  6. Double-click ForceLargerFonts and change the Value data to 1 and click OK.
  7. Restart your PC and retest again.

- On 64 bits Windows

  1. Select Start > Run. Type regedit and click OK.
  2. Expand Registry Path HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET
  3. Framework 4.0\Crystal Reports\Export
  4. Right-click the Export folder and select New > Key. This creates a new folder. Name the new folder Pdf.
  5. Right-click the Pdf folder and select New > DWORD Value.
  6. Name this 'ForceLargerFonts' with no quotes.
  7. Double-click ForceLargerFonts and change the Value data to 1 and click OK.
  8. Do Step 2-7 again, but change Expand Registry Path
    FROM
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET
    TO
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Export
  9. Restart your PC and retest again.

- Easy Step

Before vs After


Discover more from naiwaen@DebuggingSoft

Subscribe to get the latest posts sent to your email.