Hi Teodor!

I still cannot confirm that cacti 0.8.7d-1 [sid] works fine either with
rrdtool 1.3.1-4 [lenny] or with rrdtool 1.3.8-1 [sid]. What I see is
that graphs are rendered with proportional font, not monospace.

Cacti upgrade 0.8.7b -> 0.8.7d worked fine, but I cannot find an option
in cacti to control fonts. I suspect, I have some font packages lacking.
Has somebody else succeeded?

I have checked the "Graph Debug Mode" in Management -> Graph Management:
cacti does not seem to specify anything in "--font" option. Than default
font will be used, which I cannot define how to set.

Additional information (from
"zless /usr/share/doc/librrd4/NEWS.Debian.gz"):

  Starting with version 1.3, RRDtool uses libpango for handling text in
  graphs. When specifying fonts (e.g. using the --font option of
  rrdgraph(1))
  a Pango font description (e.g. "Times 20") has to be used instead of
  specifying truetype font files as in version 1.2. See the rrdgraph(1)
  manpage for details.

>From "man rrdgraph":

  [-n|--font FONTTAG:size:[font]]

  Use Times for the title: "--font TITLE:13:Times"


  If you do not give a font string you can modify just the size of the
  default font: "--font TITLE:13:".

  If you specify the size 0 then you can modify just the font without
  touching the size. This is especially useful for altering the default
  font without resetting the default fontsizes: "--font
  DEFAULT:0:Courier".

Good luck!

Teodor wrote on 12.06.2009 23:18:
> Package: cacti
> Severity: normal
> 
> I've noticed that on "Console -> Settings -> General -> RRDTool Utility 
> Version"
> we have "RRDTool 1.3.x" too now, starting with version 0.8.7c but I cannot 
> tell
> if everything was working well because I didn't checked.
> 
> I'm closing the bug with version 0.8.7d. The font is rendering well
> now, the same
> it was with the cacti and rrdtool from 'etch'. With 'lenny' we'll have to 
> either
> upgrade cacti to the version from unstable / 'squeeze' or to downgrade 
> 'rrdtool'
> to the version from 'etch'.
> 
> Thanks



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to