| |
   
Support Home | Search | FAQ | Library | Order | Forum  
Home : Fontware Products : Crystal Reports
Q10053 - BUG: Font/Barcode size decreases when exporting to PDF...

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.

Resolution

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.

Crystal Reports 10

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.

Crystal Enterprise 10

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.

Crystal Reports 9

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.

Crystal Enterprise 9

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.

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:

  1. Design the report with a larger font size to compensate for the font size decrease in the exported PDF file.

  2. 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.

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 5/13/2005.
Last Modified on 10/29/2008.
Last Modified by glitch.
Suggested by Unknown.
Article has been viewed 3161 times.
Rated 4 out of 10 based on 4 votes.
Print Article
Email Article