Allow different declaration of svg fonts
Open, LowPublic

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 set Reference to bz23643.
bzimport added a subscriber: Unknown Object (MLST).
TheDJ added a comment.Nov 4 2010, 4:34 AM

librsvg bug

demon removed a subscriber: demon.Aug 19 2015, 5:23 PM
Restricted Application added subscribers: Steinsplitter, Matanya, Aklapper. · View Herald TranscriptAug 19 2015, 5:23 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:15 PM

Add Comment