Axis labels don't show up

Bug #329166 reported by tobyS
2
Affects Status Importance Assigned to Milestone
AWFFull
New
Undecided
Unassigned

Bug Description

I just re-generated my stats using Awffull which were previously generated by Webalizer. In the main chart, the axis labels do not show up. I also tried enabling GraphLegend and GraphLines, without any success.

This is the rendered graph: http://files.schlitt.info/tmp/usage.png

Revision history for this message
Steve McInerney (spm) wrote :

Build from Source? Distro Packaged? Which version of awffull?
Have you read the INSTALL file and the issues covered there regarding True Type fonts?

This does come up, but is invariably a system configuration issue. Unfortunately, it's not exactly an obvious one. :-(

Cheers!
- Steve

Revision history for this message
tobyS (tobias-schlitt) wrote :

Built awffull from source, version v3.10.2 on Gentoo Linux.

The following libraries are installed:

media-libs/gd 2.0.35
media-libs/freetype 2.3.7-r1

The following font packages are installed:

media-fonts/urw-fonts 2.3.6
media-fonts/gnu-gs-fonts-std 8.11
media-fonts/corefonts 1-r4 (MS Core Fonts)

If I can provide additional information, please don't hesitate to ask.

Maybe it would be a good idea to make awffull throw some notice, if it does not find the required TTF files on rendering the graphs?

Revision history for this message
Steve McInerney (spm) wrote :

hmmmm.
generally awffull will throw an error, at -v, if there are some issues with the ttf font setup. Trouble is, you don't always get error values back if the right bits in the system aren't there. is most vexing. everything "works", you just get no text. :-(

fwiw, the 'key' package on most systems is typically libgd2-xpm. Most distro's appear to install without the xpm bits which are critical. This includes the fontconfig lib/hooks, without which it tends to break nicely.

You can also have issues with how your font config is setup. That can be "fun" to debug.

Could try a forced override with --with-font-default & --with-font-label to ./configure?

One issue I found on Ubuntu systems was in the font setup:
==
$ sudo dpkg-reconfigure fontconfig-config
Enable bitmapped fonts by default? Yes
==
Without this, none of the numbers will show up. ymmv...

If still no joy, I'll bombard you with more detailed troubleshooting notes. :-)

Revision history for this message
tobyS (tobias-schlitt) wrote :

Ok, here we go. Using "--with-font-default=/usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf --with-font-label=/usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf" in ./configure did the trick, since Gentoo uses these locations.

I think you should report such errors even if -v is not set. In addition I'd suggest to make the font locations configurable by the config file.

Thanks for your support!
Toby

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.