cancel
Showing results for 
Search instead for 
Did you mean: 

How to overwrite original RTF text with font/styling in Crystal Report 11?

Former Member
0 Kudos

The font/styling from the original RTF text is overriding any font/styling I select on the font tab in the Format Editor.

Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I assume you are using RTF text interpretation in which case RTF format will prevail.

You could replace RTF field with a formula and use search and replace whereby you replace the font tag with the Font you want for the report.

RTF code will look something like

{\fonttbl{\f1\froman\fprq0\fcharset0 Times New Roman;}\par Welcome to New York \par\par These are all the exciting things you can do during your stay. \par \par}

You will need to replace froman and the description Times New Roman

So your formula will be something like

Replace(Replace({YourRTFField}, 'froman','fswiss'),'Times New Roman', 'Arial')

Never tried this myself so good luck!

Ian