Skip to Content
0

Font size changes between report defination and RTF output

Feb 18 at 11:53 PM

24

avatar image
Former Member

Hi,

I am using Eclipse Luna (4.4.2) to develop a report using crystal reports (cr4e_2.0.19.zip) functionality which needs to be exported as an RTF document. I have added the required elements to my report and I have set the font size to be 12 with a font of Times New Roman, the structure is as follows:
- Main Report (some other report valus are displayed) containing border lines
- Sub Report (going through the comments stored in the database) in the body
- Text box (showing each of the comment) containing border lines and having 'Can Grow' property set to true

When I export the report to RTF, I can see that the font size changes from size 12 to 11.5. My first question, is there a way to stop this from happening?

Because of the font size changing, I am having another issue where the comment that is spanning on two lines in the crystal reports preview window is only using one line in the exported RTF document and that is because after the size id reduced by 0.5, the word has enough space to now fit on one line. Regardless of this the textbox in the document is still spanning the height to multiple lines. My second question, is there a way to fix this issue?

I have seen one of posts regarding the 0.5 font size difference (https://archive.sap.com/discussions/thread/2120039) but doesn't seem relevant as I am generating the reports on RedHat Linux. Please note exporting to word format doesn't help as line and box objects are ignored.

Any help would be greatly appreciated!

Cheers,
Rachita

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers