comparison src/xfns.c @ 91902:153651069fb2

(x_make_gc): Use the default font id of the frame for GCs.
author Kenichi Handa <handa@m17n.org>
date Sun, 17 Feb 2008 02:01:59 +0000
parents e33a0659fabe
children f7cf6a90e284
comparison
equal deleted inserted replaced
91901:1469de45e945 91902:153651069fb2
3040 3040
3041 /* Create the GCs of this frame. 3041 /* Create the GCs of this frame.
3042 Note that many default values are used. */ 3042 Note that many default values are used. */
3043 3043
3044 /* Normal video */ 3044 /* Normal video */
3045 #ifdef USE_FONT_BACKEND
3046 if (enable_font_backend)
3047 gc_values.font = FRAME_X_DISPLAY_INFO (f)->font->fid;
3048 else
3049 #endif
3045 gc_values.font = FRAME_FONT (f)->fid; 3050 gc_values.font = FRAME_FONT (f)->fid;
3046 gc_values.foreground = FRAME_FOREGROUND_PIXEL (f); 3051 gc_values.foreground = FRAME_FOREGROUND_PIXEL (f);
3047 gc_values.background = FRAME_BACKGROUND_PIXEL (f); 3052 gc_values.background = FRAME_BACKGROUND_PIXEL (f);
3048 gc_values.line_width = 0; /* Means 1 using fast algorithm. */ 3053 gc_values.line_width = 0; /* Means 1 using fast algorithm. */
3049 f->output_data.x->normal_gc 3054 f->output_data.x->normal_gc