if (is_double_width_font_xft(screen->display, screen->renderFont)) win->f_width >>= 1;
xtermComputeFontInfo(TScreen * screen,		     struct _vtwin *win,		     XFontStruct * font,		     int sbwidth){    int i, j, width, height;#ifdef XRENDERFONT    Display *dpy = screen->display;    if (!screen->renderFont && term->misc.face_name) {	XftPattern *pat, *match;	XftResult result;	pat = XftNameParse(term->misc.face_name);	XftPatternBuild(pat,			XFT_FAMILY, XftTypeString, "mono",			XFT_SIZE, XftTypeInteger, term->misc.face_size,			XFT_SPACING, XftTypeInteger, XFT_MONO,			(void *) 0);	match = XftFontMatch(dpy, DefaultScreen(dpy), pat, &result);	screen->renderFont = XftFontOpenPattern(dpy, match);	if (!screen->renderFont && match)	    XftPatternDestroy(match);	if (screen->renderFont) {	    XftPatternBuild(pat,			    XFT_WEIGHT, XftTypeInteger, XFT_WEIGHT_BOLD,			    XFT_CHAR_WIDTH, XftTypeInteger, screen->renderFont->max_advance_width,			    (void *) 0);	    match = XftFontMatch(dpy, DefaultScreen(dpy), pat, &result);	    screen->renderFontBold = XftFontOpenPattern(dpy, match);	    if (!screen->renderFontBold && match)		XftPatternDestroy(match);	}	if (pat)	    XftPatternDestroy(pat);    }    if (screen->renderFont) {	win->f_width = screen->renderFont->max_advance_width;	win->f_height = screen->renderFont->height;	win->f_ascent = screen->renderFont->ascent;	win->f_descent = screen->renderFont->descent;    } else#endif    {	if (is_double_width_font(font)) {	    win->f_width = (font->min_bounds.width);	} else {	    win->f_width = (font->max_bounds.width);	}	win->f_height = (font->ascent + font->descent);	win->f_ascent = font->ascent;	win->f_descent = font->descent;    }    i = 2 * screen->border + sbwidth;    j = 2 * screen->border;    width = (screen->max_col + 1) * win->f_width + i;    height = (screen->max_row + 1) * win->f_height + j;    win->fullwidth = width;    win->fullheight = height;    win->width = width - i;    win->height = height - j;}