Symptom: When exporting or scheduling to Adobe Acrobat Portable Document Format (PDF), the font size is reduced in the exported document. As a result, the barcode is too small to be recognized by a scanner.
This is a known issue with Crystal Reports which reduces the font size when it exports to a PDF file. The solution below is retrieved from Business Objects support site.
This known issue has been assigned Track ID ADAPT00145285, and affects the following:
-
Crystal Reports (CR) 10
-
Crystal Enterprise (CE) 10
-
Crystal Reports (CR) 9
-
Crystal Enterprise (CE) 9
-
Crystal Reports for Visual Studio .NET (CR for VS .NET) 2003
If the update does not fix the issue, try increasing the font size to compensate the loss during the export.
For Crystal Reports 10, the update for this issue is available at ftp://ftp1.businessobjects.com/outgoing/EHF/dbex10win_en.zip.
This issue is addressed in the following components (and later versions):
-
Crxf_pdf.dll, version 10.0.5.598, dated 8/19/2004
-
Crxf_pdf_res_en.dll, version 10.0.5.598, dated 8/19/2004
With the update(s), the following registry subkey is added to override this behavior:
HKEY_CURRENT_USER\SOFTWARE\Crystal Decisions\10.0\Crystal Reports\Export\PDF
By setting the value of ForceLargerFonts entry to 1, the font size is maintained.
For Crystal Enterprise 10 for Windows, the update for this issue is available at ftp://ftp1.businessobjects.com/outgoing/EHF/dbex10win_en.zip.
This issue is addressed in the following components (and later versions):
-
Crxf_pdf.dll, version 10.0.5.598, dated 8/19/2004
-
crxf_pdf_res_en.dll, version 10.0.5.598, dated 8/19/2004
With the update(s), the following registry subkey is added to override this behavior:
HKEY_CURRENT_USER\SOFTWARE\Crystal Decisions\10.0\Crystal Reports\Export\PDF
By setting the value of ForceLargerFonts entry to 1, the font size is maintained.
For Crystal Enterprise 9 for Windows, the update for this issue is available at the following location: ftp://ftp1.businessobjects.com/outgoing/EHF/ce90dbexwin_en.zip.
After applying this update, complete these steps:
-
Create the following registry entry: HKEY_LOCAL_MACHINE/Software/Crystal Decisions/9.0/Crystal Reports/Export/Pdf/ForceLargerFonts.
-
Set the registry entry value to 1 to maintain the font size.
For Crystal Enterprise 9 for Windows, the update for this issue is available at the following location: ftp://ftp1.businessobjects.com/outgoing/EHF/ce90dbexwin_en.zip.
After applying this update, complete these steps:
-
Create the following registry entry: HKEY_LOCAL_MACHINE/Software/Crystal Decisions/9.0/Crystal Reports/Export/Pdf/ForceLargerFonts.
-
Set the registry entry value to 1 to maintain the font size.
Crystal Reports for Visual Studio .NET 2003
For Crystal Reports for Visual Studio .NET 2003, there is no file update to correct this issue.
The following are two possible workarounds:
-
Design the report with a larger font size to compensate for the font size decrease in the exported PDF file.
-
Programmatically increase the font size of the report prior to exporting in the application.
For a code example of this workaround, go to http://support.businessobjects.com/search and search for knowledge base article c2010641.
NOTES: this issue will occur after installing the Hot Fix CR 1.1 .NET Patch for VS .NET 2003 (cr11netwin_en.zip). This Hot Fix will update the file crxf_pdf.dll to resolve the issue assigned Track ID ADAPT00102129.
For more information, go to http://support.businessobjects.com/search and search for the following knowledge base articles: c2011799, c2011598.