jascam / AnotherMigrateTest

0 stars 0 forks source link

Another locale issue: SvgAnimatedNumber Number Parsing #35

Closed jascam closed 6 years ago

jascam commented 6 years ago

e.g. gradient stops get the wrong number, because SvgAnimatedNumber doesn't use the correct number format.   Here's a patch:   --- a/tools/SharpVectors-5704/src/Main/Source/SharpVectorModel/BasicTypes/SvgAnimatedNumber.cs +++ b/tools/SharpVectors-5704/src/Main/Source/SharpVectorModel/BasicTypes/SvgAnimatedNumber.cs @@ -20,7 +20,7 @@ namespace SharpVectors.Dom.Svg public SvgAnimatedNumber(string str) {

baseVal = Double.Parse(str);

baseVal = Double.Parse(str, SvgNumber.Format); animVal = baseVal; }

This work item was migrated from CodePlex

CodePlex work item ID: '511' Vote count: '2'

jascam commented 6 years ago

[SelormeyPaul@4/28/2011] Nice catch, thanks.

jascam commented 6 years ago

[UnknownUser@4/28/2011]

jascam commented 6 years ago

[UnknownUser@6/1/2011]

jascam commented 6 years ago

[UnknownUser@2/14/2013]

jascam commented 6 years ago

[UnknownUser@5/16/2013]

jascam commented 6 years ago

Issue closed by SelormeyPaul with comment Completed in the change set 7179.