rrdtool is missing fonts
Problem description
rrdtool is missing fonts and therefore renders ‘ugly’ graphic with no readable text (graphs works).
rrdtool graph ...
...
(process:15289): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
(process:15289): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
...
Packages that seems to solve the problem
Installing one of the below packages (alone) seems to solve the issue (at least the tests I done).
- font-adobe-100dpi (8859648)
- font-adobe-75dpi (8196096)
- font-adobe-utopia-100dpi (1949696)
- font-adobe-utopia-75dpi (1843200)
- font-adobe-utopia-type1 (421888)
- font-bh-100dpi (5263360)
- font-bh-75dpi (4767744)
- font-bh-lucidatypewriter-100dpi (1196032)
- font-bh-lucidatypewriter-75dpi (1036288)
- font-bh-ttf (954368)
- font-bh-type1 (1359872)
- font-bitstream-100dpi (249856)
- font-bitstream-75dpi (237568)
- font-bitstream-type1 (487424)
- font-ibm-type1 (655360)
- font-misc-meltho (5828608)
- font-misc-misc (4952064)
- font-mutt-misc (262144)
- font-schumacher-misc (278528)
- font-sony-misc (53248)
Non working packages
The following packages (alone) doesn’t seem to solve the font-problem
- font-screen-cyrillic
- font-daewoo-misc
- font-misc-cyrillic
- font-dec-misc
- font-winitzki-cyrillic
- font-micro-misc
- font-isas-misc
- font-alias
- font-misc-ethiopic
- font-xfree86-type1
- font-bitstream-speedo
- font-cronyx-cyrillic
- font-cursor-misc
- font-sun-misc
- font-jis-misc
- font-arabic-misc
Based on the graphs coming out when testing the various font-packages, I
would suggest adding font-sony-misc as dependency to rrdtool
(‘font-sony-misc’ is small but still it produces usable output).
Other font packages creates better looking graphs, but the packages are
so much bigger and the output of font-sony-misc seems suficient.
This fix needs to be backported to 2.4 and 2.5
(from redmine: issue id 1475, created on 2012-11-21, closed on 2012-12-21)
- Changesets:
- Revision c6c1c3d0 by Natanael Copa on 2012-12-21T15:08:43Z:
main/rrdtool: add small font to depends
ref #1475
- Revision b4f04adb by Natanael Copa on 2012-12-21T15:10:55Z:
main/rrdtool: add small font to depends
ref #1475
(cherry picked from commit c6c1c3d078dec6fd9ddd110d1d533d79e1dbe6cc)
- Revision 2bc8cf95 by Natanael Copa on 2012-12-21T15:24:40Z:
main/rrdtool: add small font to depends
fixes #1475