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.

SVGLoader: Missing SVG specs break correct shape rendering.

See original GitHub issue

I mean, I understand SVGLoader is work in progress, but can you really get anywhere without this? my svg looks exploded 😃

example:

<g transform="translate(226 226)">
      <polygon fill="#F4F7FF" points="...

in SVGLoader there is only this:

case 'g':
	style = parseStyle( node, style );
	break;

while funcs like parseTransformNode are clearly there already

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
yomboprimecommented, Aug 28, 2020

I’ve got two SVGs with defs from Creative Commons and I think they are sufficient to test this. The Latex example (second file in my previous post) must have some other problems so I’ve removed it.

@makc Now this SVG is loaded right: imagen

1reaction
yomboprimecommented, Aug 27, 2020

Thank you, I will look into it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

shape-rendering - SVG: Scalable Vector Graphics | MDN
The shape-rendering attribute provides hints to the renderer about what tradeoffs to make when rendering shapes like paths, circles, ...
Read more >
SVGLoader + Inkscape - #18 by yombo - three.js forum
Today, I encountered an issue with importing paths from an SVG created ... should provide the returned paths in the correct rendering order....
Read more >
Edge disregarding shape-rendering attribute on SVG
Edge seems to ignore the attribute shape-rendering , which is set ... Does anybody have an idea why this behaviour occurs and how...
Read more >
NEWS · main · GNOME / librsvg - GitLab
A library to render SVG images to Cairo surfaces. ... Fix oversight in the Minimum Supported Rust Version (MSRV) - this.
Read more >
Changelog for librsvg 2.42.0 - ABI laboratory
Markers now have the correct default size per the SVG spec. ... Fixed bgo#587721 - Fix rendering of text elements with transformations (Massimo)...
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