ERROR: failed to load c:/windows/fonts/cour.ttf

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
moonzar
Posts: 9
Joined: Fri Dec 09, 2005 3:00 pm

ERROR: failed to load c:/windows/fonts/cour.ttf

Post by moonzar »

Hello,

Just for fun i runned manually this command from the rrdtool.exe to see if i can generate a image from the .rrd files generated each 5 minutes.

C:\rrdtool>rrdtool.exe graph - --imgformat=PNG --start=1134141289 --end=1134227689 --title="maximus - Traffic - 24.203.4.76 (3Com 3C90x Ethe)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/12/09 10\:14\:49 To 2005/12/10 10\:14\:49\c" COMMENT:" \n" --vertical-label="bits per second" --slope-mode DEF:a="e\:/site/cacti/rra/maximus_traffic_in_8.rrd":traffic_in:AVERAGE DEF:b="e\:/site/cacti/rra/maximus_traffic_in_8.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:" Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" > test.png

This command line output the graphic code in the console, so i have redirect it in a file called test.png.

I receive this error :

ERROR: failed to load c:/windows/fonts/cour.ttf

The problem is that my windows core is under c:/winnt not c:/windows, i dont known why rrdtool try to access the font on c:/windows, maybe that the problem ?

Any idea ?
moonzar
Posts: 9
Joined: Fri Dec 09, 2005 3:00 pm

Please forgive my weakness...

Post by moonzar »

O MY GOD !

I'm sooooo dump !!! I know what is the problem... I have copy the link for the font path from the instruction document, without checked if this was right for my system. I have write c:/windows/fonts/arial.ttf instead of c:/winnt/fonts/arial.ttf in the Cacti setting.

Please forgive my weakness...

MoonZar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest