[BACK]Return to ox_plot_xevent.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018 / plot

Diff for /OpenXM_contrib2/asir2018/plot/ox_plot_xevent.c between version 1.2 and 1.3

version 1.2, 2020/10/06 06:31:20 version 1.3, 2022/03/28 05:10:13
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2018/plot/ox_plot_xevent.c,v 1.1 2018/09/19 05:45:08 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2018/plot/ox_plot_xevent.c,v 1.2 2020/10/06 06:31:20 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 705  int init_plot_display(int argc,char **argv)
Line 705  int init_plot_display(int argc,char **argv)
 }  }
   
 static char *scalefont = "*-8-80-*";  static char *scalefont = "*-8-80-*";
   static char *scalefont_f = "fixed";
   
 void create_font() {  void create_font() {
   Font sfid;    Font sfid;
   
   sfid = XLoadFont(display,scalefont);    sffs = XLoadQueryFont(display,scalefont);
   sffs = XQueryFont(display,sfid);    if ( !sfid )
   XSetFont(display,scaleGC,sfid);        sffs = XLoadQueryFont(display,scalefont_f);
     XSetFont(display,scaleGC,sffs->fid);
 }  }
   
 void create_gc() {  void create_gc() {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>