cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Viewer/ PDF font size

Former Member
0 Kudos

When doing a export to PDF from the Crystal Reports 2008 sp5 Viewer, the font size from the report changes. Is there any way to retain the original report font size?  At all possible, without having to install crystal reports 2008 developer to fix the issue.

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor
0 Kudos

Hi Laura,

This is a known issue, however I've never seen this happen from the CR Viewer. The workaround involves setting up a registry key as described in SAP Note : 1378632.

Could you open the registry editor on the machine that has the CR Viewer installed and check if it has this path:

HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\Export\PDF

If this is a 64-bit machine, the path would be:

HKEY_CURRENT_USER\Software\Wow6432Node\Business Objects\Suite 12.0\Crystal Reports

If you do find this folder structure, then back-up the registry first and try the following:

1) Right-click the PDF folder and select New > DWORD Value.

2) Name this 'ForceLargerFonts' with no quotes and note that it is case sensitive.

3) Double-click ForceLargerFonts and change the Value data to 1 and click OK.

When you browse the registry and if you do not see the folders : 'Export' and 'PDF', please create them manually.


To Create the folders, browse upto:

HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports

and then right-click the Crystal Reports folder and select New > Key. Name this folder Export. Then go ahead and create the PDF folder and follow the instructions above to setup the DWORD.

Create the same folders (If they're not available) and the DWORD in the HKEY_LOCAL_MACHINE hive as well.

-Abhilash

Former Member
0 Kudos

Abhilash,

I have a similar issue to Laura.  We use a third party software that we interface with via a browser (Firefox in our case).  The software uses a crystal reports viewer and the view of the report comes up in pdf on the browser when we first preview our reports.  Some of the fields (not all) are showing up in smaller fonts.  I do not know if the viewer is housed on the server or on the local machine.  In my registry, I only can find the Business Objects folder in the HKEY_LOCAL_MACHINE folder and not in the HKEY_CURRENT_USER folder.  As it may make a difference - it is Suite11.5 on my machine instead of Suite12.0.

I am running a 64 bit machine as well.  It appears that it would be a QWORD value and not a DWORD value on a 64 bit machine?

Please let me know the proper registry fix and if you believe it should be on the local machine or the server based on how our third party software vendor is doing things.  BTW - I do not even see business objects in the registry anywhere on the server, so I must assume it is on the local machines where the fix needs to be made.

Thanks!  -Matt

Former Member
0 Kudos

I too have similar problem as faced by Matthew. We use a web based software that downloads the viewer as activex. We get different font sizes in different systems when same report is exported to PDF/printed. In some machines, if the report is printed directly to printer, it gets printed in big fonts; however, if exported to PDF and printed, it gets printed in smaller fonts.

The version of Crystal Reports in server is 12.5.0.1190 [Crystal 2008]

Thanks,
Mani.

former_member183750
Active Contributor
0 Kudos

There is no activex viewer that comes with CR 2008...

Is the web app created by you or has it been obtained from some 3rd party vendor?

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Former Member
0 Kudos

What I meant by Activex was for Printing from the viewer. When we print directly [using IE], the report prints in normal font size. However, if we export the report to PDF and print from PDF, the font size becomes smaller.

abhilash_kumar
Active Contributor
0 Kudos

Isn't that supposed to be an Adobe issue then?

-Abhilash

former_member183750
Active Contributor
0 Kudos

Still not clear. The CR designer does not use activex of pdf print modes. It uses win apis.

So, let's go to square one:

You posted your question to the SAP Crystal Reports design Space.

The assumption then is that you are working in the CR designer.

Your questions suggest you are using an application created by using the CR SDK for VS .NET.

If that is the case, is the application created by you, or some 3rd party?

- Ludek

Former Member
0 Kudos

Sorry about the confusion. Just got the required from our technical team. We are using an in-house .NET application where we use PrintControl.cab to print from the application.

- SRM

former_member183750
Active Contributor
0 Kudos

Ok, I moved the Discussion to the "SAP Crystal Reports, version for Visual Studio" Topic Space as now we are absolutely sure that this is an app the uses the CR SDK for .NET.

It probably would have been way more efficient if the author of the application posted the query(?).

In any case, first thing to do would be to go to the post that Abhilash did on Aug 12, 2013 and see if those changes help.

- Ludek

Former Member
0 Kudos

Hi Abhilash,

It seems that we have similar problem. We're using Visual Studio 2010, all reports are written in Crystal 2011. In .NET we use reference to CrystalDecisions.CrystalReports.Engine Version 13.0.2000.0

In a code .Export() method of ReportDocument is used. We noticed the font difference in pdf and doc files (decreased). After the investigation we'd found multiple suggestions to use Registry change, so we did. The only difference between your and our solutions is that we don't use HKEY_CURRENT_USER - HKEY_LOCAL_MACHINE is used instead.

The problem - registry change seems to be working for everyone who is in admin group (or domain admin). All other users have no change. We cannot grant admin rights to all app users.

Any idea why this setting is rights specific?

Thanks in advance,

Igor

Answers (0)