After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686953 - rsvg does not support marker styling
rsvg does not support marker styling
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-26 18:20 UTC by André Klapper
Modified: 2016-12-19 21:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Comment 1 Massimo 2016-03-09 17:42:24 UTC
This is an enhancement request.

Here

https://git.gnome.org/browse/librsvg/tree/rsvg-styles.c#n778

it is just a matter to add something like:

    } else if (g_str_equal (name, "marker")) {
        state->has_startMarker =
        state->has_middleMarker =
        state->has_endMarker = strcmp (value, "inherit") != 0;
        if (state->has_endMarker) {
            g_free (state->startMarker);
            g_free (state->middleMarker);
            g_free (state->endMarker);
            state->endMarker = rsvg_get_url_string (value);
            state->startMarker = g_strdup (state->endMarker);
            state->middleMarker = g_strdup (state->endMarker);
        }



to get this right the relevant tests in the svg 1.1 test suite are

painting-marker-03-f.svg painting-marker-04-f.svg
Comment 2 André Klapper 2016-03-09 22:44:10 UTC
Thanks for taking a look at the code!
Would you fancy attaching a patch here? See https://wiki.gnome.org/Git/Developers for more information.
Comment 3 Federico Mena Quintero 2016-12-19 21:26:23 UTC
Fixed in commit c8ba1f65fb0df638cffafb9a31b488c2427bb438.