> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:mono-devel-list-
> [EMAIL PROTECTED] On Behalf Of Marek Habersack
> Sent: zaterdag 10 februari 2007 6:20
> To: Mono Development List
> Subject: [Mono-dev] [PATCH] ASP.NET - make FontUnit NOT use locale-
> dependent decimal separator
> 
> Hello,
> 
>   The attached diff fixes the issue mentioned in the subject. Currently
> mono will fail to parse font-size=0.Xem (etc) correctly if the current
> thread culture is set to a locale that uses , as the decimal point
> separator (e.g. de, pl). Please review, thanks

This does not match the MS behavior. I've added a unit test to
FontUnitTest.cs to verify this, and fixed FontUnit.ToString() to use the
current locale.

Gert

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to