rrdtool 1.3 (and 1.2.28) font/text problem
Moderators: Developers, Moderators
rrdtool 1.3 (and 1.2.28) font/text problem
After my Gentoo box did an upgrade of rrdtool to version 1.2.28 all fonts within the graphs are not correctly lined out. I mean ... that tabs are not fixed. I set the font to /usr/share/fonts/dejavu/DejaVuMonoSans.ttf (under Settings, Visual), which is a mono-space font. So text is lined out correctly .. but tabs or spaces NOT.
I also did an upgrade to rrdtool version 1.3.4 with the same results.
Anyone any clue?
Cheers,
Matthijs
I also did an upgrade to rrdtool version 1.3.4 with the same results.
Anyone any clue?
Cheers,
Matthijs
Re: rrdtool 1.3 (and 1.2.28) font/text problem
1.3.x had this behavior for me. 1.2.27 does not. I didn't try 1.2.28 but here's the changelog:matthys wrote:After my Gentoo box did an upgrade of rrdtool to version 1.2.28 all fonts within the graphs are not correctly lined out. I mean ... that tabs are not fixed. I set the font to /usr/share/fonts/dejavu/DejaVuMonoSans.ttf (under Settings, Visual), which is a mono-space font. So text is lined out correctly .. but tabs or spaces NOT.
I also did an upgrade to rrdtool version 1.3.4 with the same results.
Anyone any clue?
Cheers,
Matthijs
https://lists.oetiker.ch/pipermail/rrd- ... 14478.html
Can you downgrade to 1.2.27?
-
- Posts: 8
- Joined: Wed Oct 29, 2008 11:28 am
Hello-
I had a very similar problem, and after searching the forums and other i think i've found the solution.
It appears that the handoff from Cacti into RRDTool does not honor the 'default font path' listed on settings->paths for graphs in rrdtool >= 1.2.8.
This means you need to put the same path into the settings->visual->
Default RRDtool 1.2 Fonts paths areas.
Its interesting that the seettings->paths used to work and now does not, with only an upgrade to rrdtool.
HTH
I had a very similar problem, and after searching the forums and other i think i've found the solution.
It appears that the handoff from Cacti into RRDTool does not honor the 'default font path' listed on settings->paths for graphs in rrdtool >= 1.2.8.
This means you need to put the same path into the settings->visual->
Default RRDtool 1.2 Fonts paths areas.
Its interesting that the seettings->paths used to work and now does not, with only an upgrade to rrdtool.
HTH
Yep .. did downgrade to 1.2.27 and all is fine again. But I had to mask rrdtool as the latest version for Gentoo is now 1.2.28!
AND AGAIN ... setting a font DIDN'T solve the tabs/spaces issue I had. And YES, I had to set a font to get things correct for the text (none at all with 1.2.28 ) but for the tabs/spaces it was not lined out correctly. No clue why .. but hope it will be fixed in the future.
Cheers,
Matthijs
AND AGAIN ... setting a font DIDN'T solve the tabs/spaces issue I had. And YES, I had to set a font to get things correct for the text (none at all with 1.2.28 ) but for the tabs/spaces it was not lined out correctly. No clue why .. but hope it will be fixed in the future.
Cheers,
Matthijs
-
- Posts: 12
- Joined: Fri Sep 05, 2008 9:14 am
- Location: Bosnia
- Contact:
Please, check rrdtool-1.2.28-r1 and if there any problems with it report at bugs.gentoo.org. Missing graphs problem was fixed in bug 254331:
https://bugs.gentoo.org/show_bug.cgi?id=245331
https://bugs.gentoo.org/show_bug.cgi?id=245331
If you are using Gentoo the only thing you need to do is to unmask rrdtool-1.2.28-r1. For this just do:
# echo "=net-analyzer/rrdtool-1.2.28-r1" >> /etc/portage/package.keywords
# emerge -1va =net-analyzer/rrdtool-1.2.28-r1
That's all. Don't forgive to read Gentoo handbook about mixing branches.
If you are not using Gentoo then unpack sources
$ tar -zxvf /vt/portage/distfiles/rrdtool-1.2.28.tar.gz
download patch
$ wget 'http://bugs.gentoo.org/attachment.cgi?id=170717' -O rrdtool-revert-font-fix.patch
and patch
$ cd rrdtool-1.2.28
$ patch -i ../rrdtool-revert-font-fix.patch -p0
If something unclear read man patch and search google.
# echo "=net-analyzer/rrdtool-1.2.28-r1" >> /etc/portage/package.keywords
# emerge -1va =net-analyzer/rrdtool-1.2.28-r1
That's all. Don't forgive to read Gentoo handbook about mixing branches.
If you are not using Gentoo then unpack sources
$ tar -zxvf /vt/portage/distfiles/rrdtool-1.2.28.tar.gz
download patch
$ wget 'http://bugs.gentoo.org/attachment.cgi?id=170717' -O rrdtool-revert-font-fix.patch
and patch
$ cd rrdtool-1.2.28
$ patch -i ../rrdtool-revert-font-fix.patch -p0
If something unclear read man patch and search google.
When I tried 1.3.x myself, I found it got a lot of segfaults in Apache. 1.3 is not supported in cacti. So I think you should downgrade. 1.2.27/28(with patch) is approximately equivalent in performance.MarianoL wrote:I have same problem with RRDTool 1.3.4 but in Fedora 8. I tried using DejaVuSansMono, LucidaConsole, Consola and VeraMono TTF fonts, but always happens the same.
There's a fix for monospaced fonts issue in graphs with RRDTool >= 1.2.28, without to do a downgrade?
I can second that this actually fixes the problem, without either downgrading or patching the rrdtool.thenextdon13 wrote:Hello-
It appears that the handoff from Cacti into RRDTool does not honor the 'default font path' listed on settings->paths for graphs in rrdtool >= 1.2.8.
This means you need to put the same path into the settings->visual->
Default RRDtool 1.2 Fonts paths areas.
I added font paths to all "* Font File" options under Settings -> Visual -> Default RRDtool 1.2 Fonts
sl.
Who is online
Users browsing this forum: No registered users and 1 guest