Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5074
Modified Files: Tag: devel_0_39 s_main.c Log Message: sys_fontwidth, sys_fontheight: disabled (obsolete)
Index: s_main.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_main.c,v retrieving revision 1.7.4.17.2.7 retrieving revision 1.7.4.17.2.8 diff -C2 -d -r1.7.4.17.2.7 -r1.7.4.17.2.8 *** s_main.c 17 Sep 2005 22:35:07 -0000 1.7.4.17.2.7 --- s_main.c 21 Oct 2005 13:16:24 -0000 1.7.4.17.2.8 *************** *** 174,186 **** }
! int sys_fontwidth(int fontsize) ! { ! return (sys_findfont(fontsize)->fi_width); ! } ! ! int sys_fontheight(int fontsize) ! { ! return (sys_findfont(fontsize)->fi_height); ! }
int sys_defaultfont; --- 174,185 ---- }
! #ifdef DESIRE ! /* in DesireData you *shouldn't* use sys_fontwidth nor sys_fontheight */ ! int sys_fontwidth(int fontsize) {return 42;} ! int sys_fontheight(int fontsize) {return 42;} ! #else ! int sys_fontwidth(int fontsize) {return (sys_findfont(fontsize)->fi_width);} ! int sys_fontheight(int fontsize) {return (sys_findfont(fontsize)->fi_height);} ! #endif
int sys_defaultfont;