fails to display text in graphs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
awffull (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: awffull
System information:
$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
$ apt-cache policy awffull libgd2-noxpm ttf-bitstream-vera | egrep '^[a-z]|Installed'
awffull:
Installed: 3.8.1beta3-1
libgd2-noxpm:
Installed: 2.0.35.
ttf-bitstream-vera:
Installed: 1.10-7
awffull fails to display text in the graphs it produces.
How to reproduce:
In the shell, execute the following command (all on one line and take care to copy single and double quotes exactly as shown):
echo '1.1.1.1 - - [31/Dec/
then view the image /tmp/usage.png (this command runs the default awffull configuration with one line of log)
Expected behavior:
The image contains text that labels the various parts of the graph
Actual behavior:
The image does not contain any text
strace shows that awffull searches many locations for Vera.ttf and VeraBd.ttf, but doesn't find it.
The text will appear if you create a symlink to the bitstream fonts: /usr/share/
Partial output of 'strace awffull':
access( "/usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory) "/usr/X11R6/ lib/X11/ fonts/TrueType/ /usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory) "/usr/X11R6/ lib/X11/ fonts/truetype/ /usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory) "/usr/X11R6/ lib/X11/ fonts/TTF/ /usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory) "/usr/share/ fonts/TrueType/ /usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory) "/usr/share/ fonts/truetype/ /usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory) "/usr/openwin/ lib/X11/ fonts/TrueType/ /usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory) "/usr/X11R6/ lib/X11/ fonts/Type1/ /usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory) "/usr/lib/ X11/fonts/ Type1// usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory) "/usr/openwin/ lib/X11/ fonts/Type1/ /usr/share/ fonts/bitstream -vera/VeraBd. ttf", R_OK) = -1 ENOENT (No such file or directory)
access(
access(
access(
access(
access(
access(
access(
access(
access(