pool.pm icon indicating copy to clipboard operation
pool.pm copied to clipboard

SVG Rendering Changed

Open frogdesk opened this issue 2 years ago • 3 comments

Hello, Previously, SVG based thumbnails were rendered on the front-end, which in most browsers resulted in using the current SVG standard.

However it appears that the new thumbnail rendering method uses an older SVG standard which does not support the transform-origin property.

I was hoping this might be fixable.

Thanks

frogdesk avatar Feb 27 '23 10:02 frogdesk

Hi,

Yes, I'm testing the SVG rasterizer which is needed for other purpose (links previews for example). The plan is to go back to render SVGs natively again in thumbnails once I have identified most issues.

Could you please tell which asset(s) thumbnail is not correctly rendered?

Thank you

SmaugPool avatar Mar 03 '23 11:03 SmaugPool

Glad to hear it :)

Here are a bunch that are not rendering correctly because of transform-origin: https://pool.pm/$wizardcrypt/%40270a4b2c

And here's one that renders correctly, since I replaced the transform-origin in the later mints to minimize this issue: https://pool.pm/$telfire/Wizard%20Spell%2001759

frogdesk avatar Mar 06 '23 18:03 frogdesk

@frogdesk SVGs are rendered natively again except in link previews. So those should now work everywhere except in like previews.

Keeping the issue open until link previews render them correctly too.

SmaugPool avatar Nov 14 '23 21:11 SmaugPool