Skip to Content
avatar image
Former Member

CR XI R2 pdf export font size issue

Exporting a report to PDF using Crystal XI R2 seems to be reducing the size of the fonts. When printing directly from CR and exporting to PDF and printing from the PDF viewer the font sizes are smaller. Any ideas on what I can do to correct the problem?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Apr 23, 2009 at 03:48 PM

    Hello Jim,

    The following SAP Note details how to prevent Crsytal Reports from shrinking the font when exporting to PDF;

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do

    The note number if the link does not work is 1206956.

    You may also want to use a printer driver set to 1200x1200 dpi resolution in Crystal Reports to prevent any possible truncation issues when exporting.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 23, 2009 at 03:49 PM

    Please refer following SAP note:

    Business Objects Notes Get Help | Close

    1220516 - Font size decreases when report is exported to PDF from Crystal Reports XI or Crystal Reports XI Release 2

    Language English Version 1 Validity: 07.05.2008 - active

    Edit Print View Show change log Show Internal Memos

    Content: Summary | Header Data | Other Properties

    Symptom

    In Crystal Reports XI and Crystal Reports XI Release 2 the font shrinks by approximately 10% when a report is exported to Adobe Acrobat Format (PDF).

    Cause

    This behavior is due to the way Windows and UNIX, and therefore Crystal Reports, handles low point size fonts on a low-resolution screen. Text layout in the absence of a printer driver will consistently be rendered differently than in PDF.

    Crystal Reports currently shrinks the font by 10% to prevent any truncation this difference may cause.

    Resolution

    CAUTION The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. It is strongly recommended that you make a backup copy of the registry files before you edit the registry. For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).

    To resolve the behavior

    Set the resolution of the default printer of the local computer experiencing the issue to 1200 DPI. Most printers have a default setting of 600 DPI.

    Create two registry keys to prevent the crxf_pdf.dll from decreasing in font size.

    Click Start > Run. Type "regedit". The Registry Editor appears.

    Create the following keys for Crystal Reports XI with the defined values:

    HKEY_CURRENT_USER\Software\Business Objects\Suite 11.0\Crystal Reports\Export\PDF\ForceLargerFonts

    Type: DWORD

    Recognized Values: 0,1

    Default Value: 1

    Creation Method: manual

    HKEY_LOCAL_MACHINE\Software\Business Objects\Suite 11.0\Crystal Reports\Export\PDF\ForceLargerFonts

    Type: DWORD

    Recognized Values: 0,1

    Default Value: 1

    Creation Method: manual

    Set both registry key values to 1 to turn them on.

    Create the following keys for Crystal Reports XI Release 2 with the defined values:

    HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\Export\PDF\ForceLargerFonts

    Type: DWORD

    Recognized Values: 0,1

    Default Value: 1

    Creation Method: manual

    HKEY_LOCAL_MACHINE\Software\Business Objects\Suite 11.5\Crystal eports\Export\PDF\ForceLargerFonts

    Type: DWORD

    Recognized Values: 0,1

    Default Value: 1

    Creation Method: manual

    Set both registry key values to 1 to turn them on.

    In UNIX, an X server client such as x-win32 must be installed. Add the keys as follows:

    Launch the X server client.

    Source <bobje install>/bobje/setup using env.sh (for example: ./env.sh).

    Create the registry keys as detailed above.

    Restart the Report Page and Cache Servers.

    ====================

    NOTES:

    If using Windows 2003 Server, upgrade to Acrobat Reader version 8.0 or higher as well as creating the above registry keys.

    Use the appropriate path to access the UNIX regedit as follows:

    AIX: <bobje install>/bobje/enterprise115/aix_rs6000/crpe/mw/bin-aix4_optimized/regedit

    Sun Solaris: <bobje install>/bobje/enterprise115/solaris_sparc/crpe/mw/bin-sunos5_optimized/regedit

    Linux: <bobje install>/bobje/enterprise115/solaris_sparc/crpe/mw/bin-linux_optimized/regedit

    ====================

    Edited by: Prathamesh Acharya on Apr 23, 2009 5:50 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 23, 2009 at 07:43 PM

    The resolution works for the most part.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 19, 2009 at 02:51 AM

    I have the same issue, and was able to fix this on prev versions using the registry key, but now I have those keys in both the IIS service user key, localmachine key, both under 11.5 (this is the lib I have installed, and rebooted server, yet no result.

    Any suggestions?

    Add comment
    10|10000 characters needed characters exceeded