on 2016 Jan 14 11:19 AM
Hi.
We need to show a new report in our website giving the users the chance to download it (using Export to PDF). Users are complaining about the decreasing font size issue seeing the remarkable differences between two reports, the one shown in the website, which displayed the actual Verdana 9, and the PDF exported one, which decreases the font to Verdana 7.5.
We’ve learnt about the solution of changing the registry key entry ForceLargerFonts, but this will affect around 200 already developed reports which are produced by this server. But we need to set ForceLargerFonts for this particular report...
So the questions are:
Thank you for your time.
Sincerely,
Regina
Hi Regina,
No unfortunately that registry setting is global and cannot be set per report.
Curious, have you looked at your other reports, are they affected in a way they cannot be used? Did you design them so they would fit? Is that the reason you can't change them now?
There may be one possible work around. Open your report and right click on the field with the problem.
Select Format Text and then click on the Paragraph tab. Set the right margin to .7, that should force CR to wrap any words to the next line or possibly scale the font to fit.
Also, for all of our registry key search for KBA 2165260, there may be a few others that might help.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Don.
Thank you very much for your quick reply.
Yes, we designed the previous 200 reports exporting directly to PDF with nothing to compare to, so we weren't aware of this problem. We're afraid that if we changed the registry setting we would have to fit all of them again.
We're going to try your suggestions and read the KBA 2165260 carefully and we'll get back to you with the results.
Thanks,
Regina
Hi again Don.
We’ve been trying your suggestion of setting a right margin for the Text Objects and it hasn’t worked. Most of the Text Objects in our report have pages of text align justified (the report is an insurance policy) and setting the right margin makes the text to be displayed with a margin on the right, thus making the text paragraphs taller. But the font decreases when exporting to PDF as before.
We tried something else, to embed text from Word Documents in OLE Objects instead of Text Objects and the results were encouraging because CR honored the font size in that case. But later we realized about the known issue of only being able to display the first page of the document and it’s impossible for us to know beforehand which sections are going to shown or hidden at run-time so we can’t design the report in this way. ¿Any suggestion in this area?
As you said I’m afraid that changing the registry setting it’s going to be the only solution for us if we want to see the exact font size in both methods of printing (Preview and Export to PDF). But we thought that probably we weren’t the first ones having this problem and maybe someone has come up with something...
Thanks for your help and time,
Regina
Hi Don,
Thanks for your answer.
In the end, as a last resort, we changed the registry key ForceLargeFonts in the server and, therefore, we had to modify the old 200 reports in order to adjust all the textboxes that now have the real font size.
It has been a lot of work for us, but now it's finished, it's a relief...
On the other hand, we don’t think it's been fair that we had to go through such a hard work, Crystal Reports should have warned us when we buy the product somehow about this issue or simply should have given us a better solution.
Cheers,
Regina
Hi Regina,
I totally understand... the problem is because we rely on so may third party dependencies and World Wide standards when changes are made it's impossible sometimes to keep up and the only option is to alter the reports.
In this case the font change was due to how the framework handles fonts and the Glyph's within the font that CR uses. HTML had limitations and the only way to make sure your report displayed $1000000 rather than $100000 in your report was to shrink the font by .5 so it would fit into the HTML code tags.... Consequences are the formatting for specifically laid out reports to meet Government standards and the like...
So i agree with you completely, it's not fair but at the same time at least there is a work around...
Thanks again
Don
User | Count |
---|---|
75 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.