Commit 0559382e authored by Matthias Clasen's avatar Matthias Clasen

Handle font-style="normal"

Accept font-style="normal" ignored as an attribute of a tspan,
https://bugzilla.gnome.org/show_bug.cgi?id=688689
parent e3983543
......@@ -519,7 +519,9 @@ rsvg_css_parse_font_style (const char *str, gboolean * inherit)
return PANGO_STYLE_OBLIQUE;
if (!strcmp (str, "italic"))
return PANGO_STYLE_ITALIC;
else if (!strcmp (str, "inherit")) {
if (!strcmp (str, "normal"))
return PANGO_STYLE_NORMAL;
if (!strcmp (str, "inherit")) {
UNSETINHERIT ();
return PANGO_STYLE_NORMAL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment