For details see bug on Gnome Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=476507.
Example: File:Rsvg marker element bug.svg - arrowhead should point in the same direction the curve is going
For details see bug on Gnome Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=476507.
Example: File:Rsvg marker element bug.svg - arrowhead should point in the same direction the curve is going
These libRSVG bugs are that simple to fix. I've patched it myself instead of pressuring someone and explaining me. See bugzilla above.
Fix included in version 2.40.10 which got released now. Now need to backport or need to wait for the distribution used on Wikimedia servers to provide that version....
Testcase from the librsvg bug: File:Rsvg marker element bug.svg
Testcase from the merged ticket: File:Adservingsimple.svg (first version of the file)
Was fixed by https://bugzilla.gnome.org/show_bug.cgi?id=476507#c6 for librsvg 2.40.10
That bug is fixed on the new jessie image scaler using 2.4.16 (tested locally, it's not yet pooled into the set of active scalers in production). I have scaled "Rsvg marker element bug.svg" on the new and the present image scalers and put the results at https://people.wikimedia.org/~jmm/svg/ :
new-arrow.png is the result on the jessie scaler
old-arrow.png is the results with an existing scaler
(The pixel sizes differ slightly to prevent hitting the cached results in favour of a fresh scaler run)
The trusty-based image scalers have now been disabled, so I'm marking this task as resolved.
@Tgr: be patient. Now [[File:Rsvg marker element bug.svg]] is borken again too. Although it work fine recently.
@Menner, @Tgr: Fixed. For confirmation I have re-triggered the generation of File:Rsvg marker element bug.svg five times and it was always rendered correctly. The reason that it partly returned the old version, was an oversight on my side; some of jessie scalers were still using the standard version of librsvg as shipped in Debian jessie, as some of the servers had been installed prior to the upgrade of librsvg. All new image scaler installations will use the new librsvg from the start.