Allow different declaration of svg fonts
OpenPublic

Description

The svg renderer only accepts fonts declared as such:
font-family="DejaVu Sans" font-weight="bold"

A lot of vector editors (Illustrator, sometimes Inkscape) output their fonts like that:
font-family="'DejaVuSans-Bold'"

The renderer falls back to the default, if fonts are declared as in the second example.
If this would be fixed, a lot of svg would then properly display the chosen font


Version: 1.11.x
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=62987
https://bugzilla.wikimedia.org/show_bug.cgi?id=38589

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz23643.
DieBuche created this task.Via LegacyMay 24 2010, 11:34 AM
TheDJ added a comment.Via ConduitNov 4 2010, 4:34 AM

librsvg bug

Gilles added a project: Multimedia.Via WebNov 24 2014, 3:29 PM

Add Comment