Hi Peter, Aha! Thanks for that - at least I kn= ow why it's not working now!
I can use the --font option (and have done successfully), but as I have about500 graphs I don't *really* want to have to (a) modify each of those config lines, and (b) add that much extra data to the batch file that runs. That, after all, is the beauty of a "default"! Is there any way of getting either a simple config file that is read dynamically, or else having someone point me to a "dummies guide to compilingRRDTool etc for Windows"? Thanks! Ian =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Ian K Gray OEL IS - European Infrastructure Support Tel: +44 1236 502661 Mob: +44 7881 518854 Peter Valdemar M=F8rc= h <[EMAIL PROTECTED]> 22/01/2007 09:56 To [EMAIL PROTECTED],= [email protected] cc Subject Re: [rrd-users] Fw: Cha= nging default font on a Windows system Hi Ian, .h files are *only* read during compilation ( or your system would surely slow to a crawl! :D ) What's wrong with the --font option to rrdgraph? http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html mentions: --font DEFAULT:0:/usr/lib/fonts/times.ttf Peter ian.gray-at-okieurope.com |Lists| wrote: > >Further to this... I have a feeling this may be related to the hideous= >question of compiling. Is the config.h file read every time the program is >executed, or is it only read during compilation? If the latter, I'm stuck... >Bear in mind that as a Windows type, I'm not used to compiling program= s >before use - wouldn't have the first clue how to. This has always been a >source of great confusion with open source stuff, as so much of it (great >software nonetheless) assumes that you're a command line C programmer >workingon Unix... 8-( >Can anyone help me? > >Thanks, > >Ian >=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F >Ian K Gray >OEL IS - European Infrastructure Support >Tel: +44 1236 502661 >Mob: +44 7881 518854 >----- Forwarded by Ian Gray/OEL/OKI=5FDATA=5FCORP/OKI=5FELECTRIC/US on= 22/01/2007 >09:42 ----- >Ian Gray/OEL/OKI=5FDATA=5FCORP/OKI=5FELECTRIC/US > >19/01/2007 18:37 To "rrd-users" <[EMAIL PROTECTED] h> cc Subject >Changing default font on a Windows system > > > >Hi, > >I'm trying to change the default font on a Windows RRD system. I go to >c:\rrdtools\rrdtool\confignt\config.h, and change the line > > #define RRD=5FDEFAULT=5FFONT "cour.tt= f" > >to > > #define RRD=5FDEFAULT=5FFONT "c:\winn= t\fonts\verdana.ttf" > >The result? Bugger all. Fonts still appear in Courier. Have I missed a step? >Do I need to do something with that config.h file after I've changed it? I >can change the font successfully for an individual graph, but not the >default. >Using v1.2rc6. > >What am I doing wrong... > >TIA, > >Ian >Ian K. Gray - sent via Blackberry >07881 518854 > >-- >Unsubscribe mailto:[EMAIL PROTECTED] ribe >Help mailto:[EMAIL PROTECTED] ch?subject=3Dhelp >Archive http://lists.ee.ethz.ch/rrd-users >WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Peter Valdemar M=F8rch http://www.morch.com -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
