You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The point() function fails to decode this string "2e2 2e2.0 0 0-.92 23" as (2e2, 2e2, '.0 0 0-.92 23') but instead returns (2e2, 2e2.0, '0 0-.92 23'). The SVG spec does not appear to allow decimals in the exponent value.
The text was updated successfully, but these errors were encountered:
CairoSVG generates an error when calling svg2png for this simple svg example:
I think the issue is with the point() helper function which does not fully match up with the number definition in the SVG specification.
CairoSVG/cairosvg/helpers.py
Line 86 in 9a1bf51
The point() function fails to decode this string "2e2 2e2.0 0 0-.92 23" as (2e2, 2e2, '.0 0 0-.92 23') but instead returns (2e2, 2e2.0, '0 0-.92 23'). The SVG spec does not appear to allow decimals in the exponent value.
The text was updated successfully, but these errors were encountered: