[BZ#739329] Unable to load font when font-family is enclosed in single quotation marks
Submitted by gig..@..net
Link to original bug (#739329)
Description
Trying to render an SVG file which contains elements like this:
Foo Bar
results in warnings from Pango:
couldn't load font "'Arial' Not-Rotated 16", falling back to "Sans Not-Rotated 16", expect ugly output.
Removing the single quotation marks around 'Arial' fixes the problem, but these are not only allowed but recommended when the font family name contains spaces.
I can't know if this is actually a problem of rsvg, pango, croco (which does the css parsing if I'm correct) or somewhere in between.
I'm using the windows binaries which are offered here http://sourceforge.net/projects/ezwinports/files/ That is: librsvg 2.40.1 pango 1.36.1 cairo 1.12.16 pixman 0.32.4 libcroco 0.6.8 gdk-pixbuf 2.30.2 glib 2.38.2 libffi 3.0.13 lzo 2.06