RRDTool Default Font

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

Moderators: Developers, Moderators

Post Reply
ipopovicbg
Posts: 5
Joined: Mon May 28, 2012 8:50 am

RRDTool Default Font

Post by ipopovicbg »

HI all,

i need help pls.
I use Cacti 0.8.8a
NET-SNMP version: 5.6.1.1
PHP Version 5.3.8
RRDTool 1.4.x

and i have a problem with RRDTool Default Font, in explatation says next: For RRDtool 1.2, the path to the True Type Font File.
For RRDtool 1.3 and above, the font name conforming to the pango naming convention:
You can to use the full Pango syntax when selecting your font: The font name has the form "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where FAMILY-LIST is a comma separated list of families optionally terminated by a comma, STYLE_OPTIONS is a whitespace separated list of words where each WORD describes one of style, variant, weight, stretch, or gravity, and SIZE is a decimal number (size in points) or optionally followed by the unit modifier "px" for absolute size. Any one of the options may be absent.
but i can't understand how to do that, i always get: [NO FONT VERIFICATION POSSIBLE].

Can you help me pls.
i hope this is problem because i don't get pictures on graphs.

THANKS IN ADVANCE.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: RRDTool Default Font

Post by BSOD2600 »

rrdtool 1.3+ font support on Windows is somewhat limited. If the following fonts names are specified, the pango dll will search for the following Windows Fonts:
courier = "courier new"
"segoe ui" = "segoe ui,meiryo,malgun gothic,microsoft jhenghei,microsoft yahei,gisha,leelawadee,arial unicode ms,browallia new,mingliu,simhei,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
tahoma = "tahoma,arial unicode ms,lucida sans unicode,browallia new,mingliu,simhei,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
sans = "dejavu sans,tahoma,arial unicode ms,lucida sans unicode,browallia new,mingliu,simhei,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
sans-serif = "dejavu sans,tahoma,arial unicode ms,lucida sans unicode,browallia new,mingliu,simhei,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
serif = "dejavu serif,georgia,angsana new,mingliu,simsun,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
mono = "dejavu sans mono,courier new,lucida console,courier monothai,mingliu,simsun,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
monospace = "dejavu sans mono,courier new,lucida console,courier monothai,mingliu,simsun,gulimche,ms gothic,sylfaen,kartika,latha,mangal,raavi"
ipopovicbg
Posts: 5
Joined: Mon May 28, 2012 8:50 am

Re: RRDTool Default Font

Post by ipopovicbg »

that mean that i need to download all this font and put in cacti/rrdtool/fonts?

Tnx
ipopovicbg
Posts: 5
Joined: Mon May 28, 2012 8:50 am

Re: RRDTool Default Font

Post by ipopovicbg »

Can you tell me what format to put there, full format pls. TNX.

i have this problem:
Attachments
Untitled2.png
Untitled2.png (42.53 KiB) Viewed 5907 times
Untitled.png
Untitled.png (33.61 KiB) Viewed 5907 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: RRDTool Default Font

Post by BSOD2600 »

No, you do NOT have to download all those fonts. It was a listing to show you what font's rrdtool will use when a font class is specified. Try putting in: monospace and see what happens.

enable graph debugging to find out why the graphs are not rendering.
ipopovicbg
Posts: 5
Joined: Mon May 28, 2012 8:50 am

Re: RRDTool Default Font

Post by ipopovicbg »

BSOD2600 wrote:No, you do NOT have to download all those fonts. It was a listing to show you what font's rrdtool will use when a font class is specified. Try putting in: monospace and see what happens.

enable graph debugging to find out why the graphs are not rendering.
i was out of town :D

this i get form debug, please help, i am trying to solve this problem 10 days :(
Attachments
RRDTOOL.png
RRDTOOL.png (41.24 KiB) Viewed 5832 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: RRDTool Default Font

Post by BSOD2600 »

That error is completely different. read the links in http://forums.cacti.net/viewtopic.php?f=3&t=11747 for troubleshooting.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests