Update of /cvsroot/pure-data/externals/pidip/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19160
Modified Files: Tag: branch-v0-39-2-extended pdp_qtext.c pdp_text.c Removed Files: Tag: branch-v0-39-2-extended pdp_aging.c~ Log Message: fixed font path issues for GNU/Linux using x-ttcidfont-conf, since it makes it really easy and it's installed by default usually
Index: pdp_qtext.c =================================================================== RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_qtext.c,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** pdp_qtext.c 10 May 2007 05:03:59 -0000 1.1.2.2 --- pdp_qtext.c 9 Jul 2007 19:36:12 -0000 1.1.2.3 *************** *** 40,46 ****
#ifdef __APPLE__ ! #define DEFAULT_FONT "Vera/16" #else ! #define DEFAULT_FONT "helmetr/16" #endif
--- 40,46 ----
#ifdef __APPLE__ ! #define DEFAULT_FONT "Monaco/16" #else ! #define DEFAULT_FONT "Vera/16" #endif
*************** *** 1082,1085 **** --- 1082,1087 ---- imlib_add_path_to_font_path("/Library/Fonts"); imlib_add_path_to_font_path("/sw/share/imlib2/data/fonts"); + #else + imlib_add_path_to_font_path("/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"); #endif font = imlib_load_font(DEFAULT_FONT);
Index: pdp_text.c =================================================================== RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_text.c,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -C2 -d -r1.4.2.2 -r1.4.2.3 *** pdp_text.c 10 May 2007 05:03:59 -0000 1.4.2.2 --- pdp_text.c 9 Jul 2007 19:36:12 -0000 1.4.2.3 *************** *** 36,42 **** #define DEFAULT_CAPACITY 10 #ifdef __APPLE__ ! #define DEFAULT_FONT "Vera/16" #else ! #define DEFAULT_FONT "helmetr/16" #endif
--- 36,42 ---- #define DEFAULT_CAPACITY 10 #ifdef __APPLE__ ! #define DEFAULT_FONT "Monaco/16" #else ! #define DEFAULT_FONT "Vera/16" #endif
*************** *** 645,648 **** --- 645,650 ---- imlib_add_path_to_font_path("/Library/Fonts"); imlib_add_path_to_font_path("/sw/share/imlib2/data/fonts"); + #else + imlib_add_path_to_font_path("/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"); #endif font = imlib_load_font(DEFAULT_FONT);
--- pdp_aging.c~ DELETED ---