[Mono-bugs] [Bug 74871][Nor] Changed - Corrupted strings in Name property in FontFamily.Families

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat May 14 22:41:00 EDT 2005


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=74871

--- shadow/74871	2005-05-14 16:24:03.000000000 -0400
+++ shadow/74871.tmp.26563	2005-05-14 22:41:00.000000000 -0400
@@ -5,13 +5,13 @@
 OS Details: FC3
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.Drawing.
-AssignedTo: mono-bugs at ximian.com                            
+AssignedTo: peter at novonyx.com                            
 ReportedBy: juraj at hotfeet.ch               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: Corrupted strings in Name property in FontFamily.Families
@@ -70,6 +70,14 @@
 I'm still getting garbage characters. I've synced both libgdiplus and
 System.Drawing and applied your patch.
 Did the garbage characters go away on your box?
 
 Your patch certainly looks right, the zero-terminator was not aligned.
 There must be yet another bug.
+
+------- Additional Comments From peter at novonyx.com  2005-05-14 22:41 -------
+Jordi, your patch won't fix the problem (Jackson and I already tried 
+that). I have a larger patch lying around for gdiplus, which fixes 
+the bad termination, but also replaces the (wrong) utf8_to_utf16 
+conversion with utf8_to_ucs2 conversion. MS' unicode APIs deal with 
+UCS2, not UTF16. However, the problem is not fixed by this. I am 
+working on it.


More information about the mono-bugs mailing list