Hi,
we have an application that includes several XtraReports.
Inside those reports there is a XRRichtText control bound to a property that contains html.
The html uses letter-spacing and line-height but it seems that those values are ignored by the XRRichText control.
We also tried to use text formatted in rtf to meet the requirements, but this also did not work. The text was shown as if we did not change the character spacing.
How can we make the XRRichtText control take the different character spacing into account?
Hi Oliver,
Would you please send us the HTML code that you are trying to render by using the XRRichText control? We are look forward to hearing from you.
Hi Vasily,
I created a simplified version of the the HTML code we are trying to render.
The different letter-spacing and line-height are applied to the second parapragh.
While testing this code i noticed that the XRRichText control does indeed render the line-height correctly. It seems that our "big" HTML code has some other problems i need to fix.
However, the letter-spacing is not taken into account.
<p style="font-family: Tahoma, sans-serif; text-align: center;"> <b><span style="color: #C1334B">colored and bold</span></b> · some text · more text here · <span style="color: #C1334B">more colored text</span> text text <br /> <b><span style="color: #C1334B">colored and bold</span></b> · some text · more text here · <span style="color: #C1334B">more colored text</span> text text </p> <p style="font-family: Tahoma, sans-serif; text-align: center; letter-spacing: 6px; line-height: 1.8; "> <b><span style="color: #C1334B">colored and bold</span></b> · some text · more text here · <span style="color: #C1334B">more colored text</span> text text <br /> <b><span style="color: #C1334B">colored and bold</span></b> · some text · more text here · <span style="color: #C1334B">more colored text</span> text text </p>