DescriptionImproved optional command handling in SkParsePath::FromSVGString()
Repeating command letters are optional in SVG path data strings:
https://www.w3.org/TR/SVG/paths.html#PathData
FromSVGString() already supports this feature, but only checks for
scalars prefixes == (digit | '-' | '+').
A decimal point is also a valid scalar prefix though, so it should be
included in the test.
R=caryclark@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2339813003
Committed: https://skia.googlesource.com/skia/+/a17411f056cca6875910a4588f8596ed88e75b7c
Patch Set 1 #Patch Set 2 : extra test #
Messages
Total messages: 13 (9 generated)
|