Unplanned
Last Updated: 08 Jun 2022 09:16 by ADMIN
ADMIN
Anna
Created on: 18 Jan 2018 08:28
Category: RichTextBox
Type: Bug Report
0
RichTextBox: \sl RTF tag not correctly interpreted when no value is specified
The \sl (line spacing) RTF tag is supposed to be accompanied by a number indicating the value of the line spacing. According to the RTF specification: 

Space between lines. If this control word is missing or if \sl0 is used, the line spacing is automatically determined by the tallest character in the line. If N is a positive value, this size is used only if it is taller than the tallest character (otherwise, the tallest character is used); if N is a negative value, the absolute value of N is used, even if it is shorter than the tallest character. 


However, there are documents where the number is missing at all and MS Word interprets those as if the value is 0. RadRichTextBox visualizes these with lines of size close to zero which makes them invisible. Although this case is not mentioned in the specification, we can consider fixing it.
2 comments
ADMIN
Anna
Posted on: 08 Jun 2022 09:16

Hi,

I assume you have font size in mind instead of font weight? If you stumbled upon this issue, I hope you found the workaround to be sufficient.

Regards,
Anna
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Nicholas
Posted on: 07 Jun 2022 08:33
I read your post about the negative number and I set it to -fontWeight.