I've been studying this problem for a couple of days now without success ...
I've configured and deployed Graphite (with carbon and whisper) using the Puppet Graphite module on a CentOS 6.5 server. The webapp will only render text in the graphs if I select Courier as the font face.
I know that Graphite uses cairo to render the PNG graphs, and that relies on freetype or the fontconfig library. All of those are installed.
Other people have solved this problem by installing the "bitmap-fonts" package. The package installed on my server is "bitmaps-fonts-compat" which one would hope is compatible with "bitmap-fonts".
The version of cairo provided in the RedHat repos is 1.8 (a few revisions old).
I had similar issue on Fedora 21 and fixed it by installing
dejavu-sans-fonts
&dejavu-serif-fonts
(withoutbitmaps-fonts-compat
).I had the same problem. To workaround this, change
fontname
fromSans
toLucidaTypewriter
(or any other from fc-list) ingraphite/render/glyph.py
on my server the full path is:/usr/lib/python2.6/site-packages/graphite/render/glyph.py
diff:
and restart wsgi server.