question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unsupported valid SVG paths

See original GitHub issue

Hi!

I have discovered some valid SVG paths that your library does not seem to support:

  • M 0. .1 and M0..1 should be parsable as Move(to=.1j)
  • M -7e-5 -4e-5 should be parsable as Move(to=(7e-5 - 4e-5j))

I mean “valid” in the sense that the SVG viewers I checked were able to read those paths (Firefox notably)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Lucas-Ccommented, Jun 9, 2022

My bad, exponential numbers are correctly supported by your lib. I just had a rounding issue with 4e-05 - 1 + 1

0reactions
Lucas-Ccommented, Jun 17, 2022

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image uploads: unsupported items
When uploading .svg or .dxf files into Cricut Design Space, you may receive the following error message: "Your file includes unsupported items.
Read more >
Cricut Design Space Unsupported File Type Error ... - YouTube
This video shows the most common reasons for SVG upload errors in Cricut Design Space, such as the unsupported file type error.
Read more >
svg - Custom icon for flutter app show this error of convert ...
When i upload my svg to customicon website it shows me error of convert to compound path manually If image looks not as...
Read more >
'Svg' cannot be used as a JSX component · Issue #1741
Its instance type 'Component<SvgProps, any, any>' is not a valid JSX element. The types returned by 'render()' are incompatible between ...
Read more >
Paths — SVG 2
This chapter describes the syntax, behavior and DOM interfaces for SVG paths. Various implementation notes for SVG paths can be found in 'path'...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found