[Mono-bugs] [Bug 77661][Wis] Changed - Setting this RTF in the
RichTextBox.SelectedRtf causes no text render
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Feb 27 23:13:34 EST 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by peter at novonyx.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77661
--- shadow/77661 2006-02-27 23:02:01.000000000 -0500
+++ shadow/77661.tmp.29939 2006-02-27 23:13:34.000000000 -0500
@@ -1,14 +1,14 @@
Bug#: 77661
Product: Mono: Class Libraries
Version: 1.0
OS: GNU/Linux [Other]
OS Details:
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: NOTABUG
+Severity: Unknown
Priority: Wishlist
Component: Windows.Forms
AssignedTo: peter at novonyx.com
ReportedBy: simon at nureality.ca
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -44,6 +44,20 @@
\pard\f0\cf1\fs17 hey\cf0\par}
------- Additional Comments From simon at nureality.ca 2006-02-27 23:02 -------
Created an attachment (id=16537)
Test Case
+
+------- Additional Comments From peter at novonyx.com 2006-02-27 23:13 -------
+The RTF is broken. The Font table is missing a close bracket at the
+end, the colortable must not be contained inside the font table.
+You're actually closing the font table *after* the color table.
+
+Correct version:
+{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0
+Microsoft Sans Serif;}}{\colortbl ;\red0\green0\blue0;}\viewkind4\uc1
+\pard\f0\cf1\fs17 hey\cf0\par}
+
+I know MS renders the broken one, but I'd say it's coincidence. There
+will be other broken stuff that is not parseable, so I'm gonna opt
+for keeping it obvious that broken RTF was fed to the control.
More information about the mono-bugs
mailing list