Skip to content
Commit 9c718ff7 authored by Menner's avatar Menner Committed by Federico Mena Quintero
Browse files

bgo#739329 - Remove single quotes around font-family names before passing them to Pango

If you have an SVG with

  <text style="font-family: 'New Century Schoolbook';"> ... </text>

our CSS-parsing code simply passes the singly-quoted string to Pango.  In turn,
Pango doesn't like the quotes because they are not part of the font's name.

This is a simple patch to remove single quotes from *all* style attributes, not
just strings (which is where the CSS spec allows them).  We need a real CSS
parser, not something built out of g_strsplit().
parent fdd27597
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