Page MenuHomePhabricator
Feed Advanced Search

May 2 2021

RazrFalcon added a comment to T228321: librsvg ignores functional URLs that use single quotation marks.

@Glrx The problem with standard is that no one cares about it. People want to see the same results as in the browser or better. That's why resvg usually tries to mimic browsers and not standard.
And in general, there are too many things in SVG that are not defined at all or poorly defined. My tests suite has 48 tests where the correct result is basically unknown.

May 2 2021, 8:21 AMThumbor, Upstream, Wikimedia-SVG-rendering

May 1 2021

RazrFalcon added a comment to T228321: librsvg ignores functional URLs that use single quotation marks.

@Glrx as mentioned here, it's not that simple. I guess I would have to add at least a minimal support.

May 1 2021, 7:42 AMThumbor, Upstream, Wikimedia-SVG-rendering

Apr 27 2021

RazrFalcon added a comment to T281027: Unicode-Character 馃ぃ not rendered in SVG.

@JoKalliauer resvg doesn't support emojis yet.

Apr 27 2021, 6:49 AMWikimedia-SVG-rendering

Apr 25 2021

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

There are a lot of SVG files that are trivial and should display reasonably on any browser.

Apr 25 2021, 7:36 PMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

I suspect that most modern browsers have sufficient SVG support.

Apr 25 2021, 1:01 PMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Mar 10 2021

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Sometime soon I'll try some CSS @media support.

Mar 10 2021, 6:50 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

It doesn't understand tspan[data-e~="a" i] either. Will fix it soon. a:link and :lang are ignored. The first one is a surprise, the second one is a known issue. Everything else works as expected.

Mar 10 2021, 5:40 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Mar 9 2021

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

resvg fails to load this CSS at all. I guess because of ?* CSS 3 selectors */. librsvg indeed uses a way better CSS parser.

Mar 9 2021, 5:55 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Nov 21 2020

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

@Glrx Hi. As the author of resvg, I would like to point out some limitations of serving SVG directly. Yes, browsers are great, but they are not perfect either. Both Chrome and Firefox have tons of issues with SVG rendering. Even the textPath feature you've mentioned is actually badly supported. The situation with filters is pretty bad in Chrome. And not as great with complex text either. No browser is supporting enable-background (deprecated in SVG 2 through).

Nov 21 2020, 12:19 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Feb 27 2020

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

how many files on commons would break if we switched away from rsvg tomorrow?

Feb 27 2020, 10:27 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Feb 26 2020

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

@Milimetric Can you expand your question a bit? What this checker should do and what exactly it should catalog?

Feb 26 2020, 10:06 PMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Feb 5 2020

RazrFalcon added a comment to T243893: Test resvg on Beta Cluster.

resvg only seems to be packaged in sid though, which is a bigger problem...

Feb 5 2020, 5:02 PMMediaWiki-File-management, Commons, Multimedia, Wikimedia-SVG-rendering, Beta-Cluster-Infrastructure

Jan 29 2020

RazrFalcon added a comment to T243893: Test resvg on Beta Cluster.

@Aklapper resvg performance should be close, but it's basically impossible to compare. There are just too many differences and nuances.

Jan 29 2020, 9:01 PMMediaWiki-File-management, Commons, Multimedia, Wikimedia-SVG-rendering, Beta-Cluster-Infrastructure

Jun 21 2019

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

CSS support is still pretty bad, yes. Only simple selectors are supported. Just like in librsvg.
I plan to rewrite a CSS parsing, but not sure when it will be available. Maybe even this year.

Jun 21 2019, 6:05 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Jun 20 2019

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

A new version of resvg was released. Now it supports textPath (example, example), writing-mode (example), BIDI reordering (example) and better letter-spacing (example).

Jun 20 2019, 9:48 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Apr 11 2019

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

@Aklapper resvg has a prebuilt viewer too. So you can test it right away.

Apr 11 2019, 11:45 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Would this file break? It contains "脺", but the character is in the <title> element.

Apr 11 2019, 11:20 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Does resvg accept viewBox="0 0 500 500" without other dimension attributes?

Apr 11 2019, 11:00 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

@Jc86035 SVG without a specified size is an undefined behavior. There are no tests for this yet, so I'm not sure how good the librsvg and other implementations are.

Apr 11 2019, 10:47 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Given https://phabricator.wikimedia.org/T40010#4432284 I think the most promising next step is to wait a few more months and migrate thumbor to the buster and the rust-based new librsvg

Apr 11 2019, 10:35 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Jan 4 2019

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Thanks for a detailed answer!

Jan 4 2019, 8:45 PMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

@Glrx Hello again.

Jan 4 2019, 2:23 PMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Jul 22 2018

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

RazrFalcon might has optimised resvg for his own hardware

Jul 22 2018, 10:43 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

@Krenair The software is indeed changed but in a bad way. At the moment Inkscape and Batik are extremely slow. At least according to my own benchmarks. Batik can be faster if we use it as a daemon, because JVM startup is very slow, but I'm not sure how much memory it will consume in that way.

Jul 22 2018, 10:09 AMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering

Jul 18 2018

RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Yes, the overflow attribute is marked as unsupported, but only because its too generic. resvg simply does not support all elements that can have overflow yet.

Jul 18 2018, 8:38 PMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering
RazrFalcon added a comment to T40010: RFC: Re-evaluate librsvg as SVG renderer on Wikimedia wikis.

Hi, I'm the resvg author.

Jul 18 2018, 6:53 PMProposal, Thumbor, MediaWiki-File-management, Commons, Wikimedia-SVG-rendering