[rrd-users] unreadable strings from RRDTools charts

Alceu Rodrigues de Freitas Junior glasswalk3r at yahoo.com.br
Thu Apr 20 23:56:13 CEST 2017


Hello Jacques,

Thank you! I was about to give up on that!

I'm copying to the list too, hope you don't mind... maybe this will help 
folks around in the future.

To get the fonts installed, one must select all the "x" sets during the 
setup (not sure if they are available after installing). Basically you 
uncheck the "games" set and install everything else.

After that, you will need to setup ports:

https://www.openbsd.org/faq/faq15.html#Ports

And then:

cd /usr/ports/print/freetype
make install
make clean
make clean=depends

Here is another reference (not sure why is not part of the official FAQ 
anymore):

http://openbsd.das.ufsc.br/faq/truetype.html

Em 20/04/2017 06:58, Jacques Schell escreveu:
> Hi Alceu,
>
> Your RRD Graphs are not showing legends simply because fonts are missing.
> See which fonts you have by default:
> ll /usr/share/fonts/
> You must have dejavu fonts for RRDTool:
>
> root at vmn-prod:/var/www/html# ll /usr/share/fonts/dejavu/
> total 5288
> -rw-r--r--. 1 root root 611212 Feb 27  2011 DejaVuSans-BoldOblique.ttf
> -rw-r--r--. 1 root root 672300 Feb 27  2011 DejaVuSans-Bold.ttf
> -rw-r--r--. 1 root root 580168 Feb 27  2011
> DejaVuSansCondensed-BoldOblique.ttf
> -rw-r--r--. 1 root root 631992 Feb 27  2011 DejaVuSansCondensed-Bold.ttf
> -rw-r--r--. 1 root root 576004 Feb 27  2011 DejaVuSansCondensed-Oblique.ttf
> -rw-r--r--. 1 root root 643852 Feb 27  2011 DejaVuSansCondensed.ttf
> -rw-r--r--. 1 root root 345204 Feb 27  2011 DejaVuSans-ExtraLight.ttf
> -rw-r--r--. 1 root root 611556 Feb 27  2011 DejaVuSans-Oblique.ttf
> -rw-r--r--. 1 root root 720012 Feb 27  2011 DejaVuSans.ttf
> root at vmn-prod:/var/www/html#
>
> Hope this helps you.
>
> Cheers from Switzerland !
> Jacques



More information about the rrd-users mailing list