Page MenuHomePhabricator

rsvg error when generating thumbnail "no fonts found"
Closed, ResolvedPublic

Description

Author: le.korrigan

Description:
When trying to generate http://commons.wikimedia.org/w/thumb.php?w=800&f=Hautes_Pyrenees_topographic_map-fr.svg, rsvg outputs a lot of errors related to fonts. I won't copy/paste everything, but here are the most common errors :

(rsvg-convert:14687): Pango-WARNING **: Unable to open font file /usr/share/fonts/truetype/wqy/wqy-zenhei.ttf for font WenQuanYi Zen Hei Oblique 7.1982421875, falling back to /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

(rsvg-convert:14687): Pango-WARNING **: Error loading GSUB table 57005

(rsvg-convert:14687): Pango-CRITICAL **: No fonts found:
This probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

(rsvg-convert:14687): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='greek'

(rsvg-convert:14687): Pango-CRITICAL **: No fonts found:
This probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

[etc.]

and rsvg continues complaining about "no fonts found".

Thanks.


Version: 1.14.x
Severity: normal

Details

Reference
bz16185

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 10:18 PM
bzimport set Reference to bz16185.
bzimport added a subscriber: Unknown Object (MLST).

le.korrigan wrote:

And when trying to generate a 300px thumbnail, the following error is given :

(rsvg-convert:21924): Pango-WARNING **: Unable to open font file /usr/share/fonts/truetype/wqy/wqy-zenhei.ttf for font WenQuanYi Zen Hei Oblique 7.1982421875, falling back to /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

Pango-ERROR **: Unable to open font file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf for font DejaVu Sans Oblique 6.3984375, exiting

aborting...

(that's all)

le.korrigan wrote:

Putting high priority as it affects heavily used images on fr.wikipedia, highly disturbing for readers

  • This bug has been marked as a duplicate of bug 15994 ***
Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:19 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:21 AM