cancel
Showing results for 
Search instead for 
Did you mean: 

Fonts shrinkage when exporting to PDF

Former Member
0 Kudos

I have see this posted a few times but I have not seen a definitive solution.

I am using CR 2010 with VS 2010 on Win7.

I have created a report and it took a while to get the format just right.

When I export it to a PDF file, the report really gets messed up.

1) The font sizes are reduced.

2) The alignment of text fields shifts around.

Even when I use CR 2010 by itself, using the export to PDF feature, the problem exists.

I have seen posted stating to go into the registry and add ForceLargerFonts and put it in the Machine and User sections.

Set its value to 1, blah, blah, blah......

Also, I have seen some posts about overlapping fields and again this is not the case.

Finally, I have seen suggestions as to set the report option to No printer.

I have tried all of these suggestions and it does not work, nor should it be this hard to get this to work properly.

In fact, it should be added as a feature in the report option section with a checkbox.

This problem has been going on since version 7 and it is hard to believe that it still is an issue.

As a work around, I print the file to BullZip and save it as a PDF.

I can automate this in code as well.

Alot of effort to do something that should be very simple.

I would like a real definitive answer.

Regards,

Michael

View Entire Topic
former_member184995
Active Contributor
0 Kudos

The key is not forcelargerfonts any longer.

This is the key:

HKLM\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\Export\Pdf\UsePrecisePositioningForText = 1

Best Regards,

Jason

Former Member
0 Kudos

Hi Jason,

I have tried exactly what you posted.

This does not work either.

I created a DWORD 32 and tried it.

Then a DWORD 64 and tried it.

I then created this settting in Current User as well.

I rebooted my computer after each change.

The issues are exactly as stated previously.

The software update for CR2010 is current.

What else could it be?

Regards,

Michael

saurabh_pathak
Active Contributor
0 Kudos

You can go through

Check every hyperlink, it might help you.

Another thing that I would like to know is if you are using 'Default Printer' or 'No Printer'?

- Saurabh

Former Member
0 Kudos

Hi,

Thanks for the advice.

I am using the "No Printer" options.

I am going thru the links right now, but it has not worked yet.

Do you have this problem?

Are you able to get this to work?

All I want to do is export to a PDF file in exactly the same format as I see on the screen or that appears when I print it or when I send to a pseudo printer like BullZip that generates a PDF.

Font shrikage and text alignment when exporting to a PDF are unacceptable.

I can't believe there is no definitive answer to this problem.

Michael

former_member183750
Active Contributor
0 Kudos

Actually, I reported this to QA a while back (ADAPT01589025). The ADAPT is in "Under review" state. Targeted for SP3 (Mid year).

Personally, I have no idea what precisePositioning is supposed to do though... I'll see what I can find out.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Former Member
0 Kudos

So it is now past Mid year.... of 2012.

Has been resolved?

What is the status of this?

Creating PDFs that are precisely the same as a printed version should be fundamental.

Best Regards,

Michael

former_member183750
Active Contributor
0 Kudos

Well, SP 3 has been out for quite a while now as has SP 4. Have you tried SP 3 or SP 4?

http://scn.sap.com/docs/DOC-7824

- Ludek

Former Member
0 Kudos

Hi Ludek,

I have tried sp4 and I still have the same issues.

I have exhausted all of the options in this forum and online, I am really not sure how to proceed.

I still get the shrinkage and the shifting.

Best Regards,

Michael

former_member183750
Active Contributor
0 Kudos

What is your DPI set to?

- Ludek