Home:  Support:  Search:

Exporting to PDF from Crystal Reports causes fonts to decrease in size

When exporting from Crystal Reports to a PDF file, the fonts decrease in size and barcodes may not be able to be scanned.

Solution:

This is a known issue with Crystal Reports and not caused by IDAutomation fonts, where Crystal Reports reduces the font when exporting to a PDF file. The solutions listed here should be performed after installing any new updates and hot fixes for the Crystal Reports version being used.

If these updates do not fix the problem, try the following:

  1. Try using the shortest version of the font, for example, the XS version.
  2. Make the field that contains the barcode taller and wider.
  3. Increase the point size of the font to compensate for the shrinkage.
  4. Change the font size by programming an increase in size prior to exporting the report. For a code example of this workaround, go to http://support.businessobjects.com/search and search for knowledge base article c2010641.

If the issue still exists after performing all of the above, contact the Business Objects Crystal Support Site for a solution.


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_LOCAL_MACHINE\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 Reports 9, the update for this issue is available at the following location:
ftp://ftp1.businessobjects.com/outgoing/EHF/cr90dbexwin_en.zip
After applying this update, complete these steps:
1. Create the following registry entry:
HKEY_CURRENT_USER/software/crystal decisions/9.0/Crystal Reports/export/PDF/ForceLargerFonts
2. 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:
1. Create the following registry entry:
HKEY_LOCAL_MACHINE/Software/Crystal Decisions/9.0/Crystal Reports/Export/Pdf/ForceLargerFonts
2. Set the registry entry value to 1 to maintain the font size.


For Crystal Reports for Visual Studio .NET (CR for VS .NET) 2003, there is no file update to correct this issue.
The following are two possible workarounds:
1. Design the report with a larger font size to compensate for the font size decrease in the exported PDF file.
2. Change the font size by programming an increase in size prior to exporting the report. 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

Related Documents and Keywords:

See also:

TSI symbols

 

To sign up for monthly updates about new products or upgrades, please click here.Copyright © 2000-2006 IDAutomation.com, Inc. IDAutomation and BizFonts are registered trademarks of IDAutomation.com, Inc. All other trademarks mentioned are the property of their respective owners. 

Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.