RTF Specification bug?
Posted: Fri Dec 09, 2005 12:12 pm
Greetings!
We have troubles with getting line spacing to work properly with RichView.
The starting point is an RTF created by a TRxRichEdit component seomwhere else. This RTF code contains line spacing information which is lost when importing the RTF into our RichView or RichViewEdit.
The problem seems to be this sequence:
\sl400\slmult0
The specification I found at [0] says that if \slmultN with N=0 the "exact" or "at least the" line spacing that was defined in the \sl command before shall be used. If I manually change the \slmult0 to \slmult1, RichView works properly.
This is with 1.9.8 and Delphi 5. Wordpad loads the RTF file properly.
Stefan
[0] http://www.biblioscape.com/rtf15_spec.htm
We have troubles with getting line spacing to work properly with RichView.
The starting point is an RTF created by a TRxRichEdit component seomwhere else. This RTF code contains line spacing information which is lost when importing the RTF into our RichView or RichViewEdit.
The problem seems to be this sequence:
\sl400\slmult0
The specification I found at [0] says that if \slmultN with N=0 the "exact" or "at least the" line spacing that was defined in the \sl command before shall be used. If I manually change the \slmult0 to \slmult1, RichView works properly.
This is with 1.9.8 and Delphi 5. Wordpad loads the RTF file properly.
Stefan
[0] http://www.biblioscape.com/rtf15_spec.htm