princea
Joined: 10 Jun 2005 Posts: 31
|
Posted: Fri Nov 09, 2007 9:44 am Post subject: ttf Fonts |
|
|
all,
I have recently built a new cacti server - using the below versions:-
| Quote: | Cacti Version - 0.8.7
Plugin Architecture - 1.3
Poller Type - CMD.php
Server Info - Linux 2.6.18-8.1.15.el5
Web Server - Apache/2.2.3 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp
MySQL - 5.0.22
RRDTool - 1.2.23
SNMP - 5.3.1
PluginsGlobal Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.8 )
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
PHP Network Weathermap (weathermap - v0.93)
Network Tools (tools - v0.2) |
I have several ttf fonts that I have used in my current server using the fontdefine command , but in the editor of any map they are not available. I have copied them to /var/www/cacti/plugins/weathermap
the same place I always put them??
Any help/suggestions will be appreciated. |
|
woodwalker
Joined: 12 Dec 2007 Posts: 2
|
Posted: Sat Dec 15, 2007 9:54 pm Post subject: |
|
|
give more messages,when you run the check.php all test past?
it seems that you don't complie the freetype,php must use the gd and freetype to draw the gd and truetype font.
a tip,under Weathermap.class.php file there is a funtion called myimagestring that use to draw the truetype font.
Last edited by woodwalker on Mon Dec 17, 2007 8:36 pm; edited 1 time in total |
|