--- rxvt-unicode/src/init.C 2004/02/21 22:14:00 1.30 +++ rxvt-unicode/src/init.C 2004/02/22 08:28:36 1.32 @@ -401,10 +401,6 @@ ks_smallfont = XK_less; #endif -#ifdef GREEK_SUPPORT - ks_greekmodeswith = GREEK_KEYBOARD_MODESWITCH; -#endif - refresh_limit = 1; refresh_type = SLOW_REFRESH; prev_nrow = prev_ncol = 0; @@ -670,12 +666,6 @@ rs[Rs_scrollBar_thickness]); #endif - TermWin.fontset = new rxvt_fontset (this); - TermWin.fontset->populate (rs[Rs_font]); - TermWin.fwidth = TermWin.fontset->base_font ()->width; - TermWin.fheight = TermWin.fontset->base_font ()->height; - TermWin.fbase = TermWin.fontset->base_font ()->ascent; - #ifdef XTERM_REVERSE_VIDEO /* this is how xterm implements reverseVideo */ if (Options & Opt_reverseVideo) @@ -903,10 +893,6 @@ SavedModes |= PrivMode_menuBar; } -#ifdef GREEK_SUPPORT - greek_init (); -#endif - #ifdef CURSOR_BLINK if (Options & Opt_cursorBlink) (void)gettimeofday (&lastcursorchange, NULL); @@ -1147,7 +1133,13 @@ /* grab colors before netscape does */ Get_Colours (); - change_font (1, NULL); + if (!change_font (rs[Rs_font])) + { + fprintf (stderr, "unable to load a base font, please provide one using -fn fontname\n"); + destroy (); + return; + } + window_calc (0, 0); old_width = szHint.width; old_height = szHint.height;