Blame munin-1.4.2-fontfix.patch
|
|
1741fc3 |
diff -aur ../munin-1.4.2.orig/master/lib/Munin/Master/GraphOld.pm ./master/lib/Munin/Master/GraphOld.pm
|
|
|
1741fc3 |
--- ../munin-1.4.2.orig/master/lib/Munin/Master/GraphOld.pm 2009-12-16 15:53:28.000000000 +0100
|
|
|
1741fc3 |
+++ ./master/lib/Munin/Master/GraphOld.pm 2009-12-17 11:22:44.753518725 +0100
|
|
|
1741fc3 |
@@ -1299,9 +1299,9 @@
|
|
|
1741fc3 |
# The RRD 1.2 documentation says you can identify font family
|
|
|
1741fc3 |
# names but I never got that to work, but full font path worked
|
|
|
1741fc3 |
return (
|
|
|
1741fc3 |
- '--font', "LEGEND:7:$libdir/DejaVuSansMono.ttf",
|
|
|
1741fc3 |
- '--font', "UNIT:7:$libdir/DejaVuSans.ttf",
|
|
|
1741fc3 |
- '--font', "AXIS:7:$libdir/DejaVuSans.ttf",
|
|
|
1741fc3 |
+ '--font', "LEGEND:7:/usr/share/fonts/bitstream-vera/VeraMono.ttf",
|
|
|
1741fc3 |
+ '--font', "UNIT:7:/usr/share/fonts/bitstream-vera/VeraMono.ttf",
|
|
|
1741fc3 |
+ '--font', "AXIS:7:/usr/share/fonts/bitstream-vera/VeraMono.ttf",
|
|
|
1741fc3 |
);
|
|
|
1741fc3 |
} elsif ($RRDs::VERSION >= 1.3) {
|
|
|
1741fc3 |
# RRD 1.3 and up
|