Code

Different default font when WIN32 is defined
authoralex <alex@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 6 Apr 2002 12:40:59 +0000 (12:40 +0000)
committeralex <alex@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 6 Apr 2002 12:40:59 +0000 (12:40 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@117 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 5f5ab2740a06d61f031f04e36c911be4657fc5ec..27627178a49747790fcf57ddcd332954ce6aebef 100644 (file)
 
 
 #ifndef RRD_DEFAULT_FONT
+#ifdef WIN32
+#define RRD_DEFAULT_FONT "c:/winnt/fonts/COUR.TTF"
+#else
 #define RRD_DEFAULT_FONT "/usr/share/fonts/truetype/openoffice/ariosor.ttf" 
 /* #define RRD_DEFAULT_FONT "/usr/share/fonts/truetype/Arial.ttf" */
 #endif
+#endif
 
 
 text_prop_t text_prop[] = {