Lines Matching defs:bfont
29 static XFontStruct *font, *bfont;
49 bfont = NULL;
50 if (p->bfont != NULL) {
51 bfont = XLoadQueryFont(xp->d, p->bfont);
52 if (bfont == NULL) {
53 printf("Could not load font '%s', benchmark omitted\n", p->bfont);
60 if (bfont != NULL) {
61 int h = (bfont->max_bounds.ascent + bfont->max_bounds.descent) + 1;
99 items[i*SEGS+1].font = bfont->fid;
142 bfont = NULL;
143 if (p->bfont != NULL) {
144 bfont = XLoadQueryFont(xp->d, p->bfont);
145 if (bfont == NULL) {
146 printf("Could not load font '%s', benchmark omitted\n", p->bfont);
149 brows = bfont->max_byte1 - bfont->min_byte1 + 1;
150 bcolumns = bfont->max_char_or_byte2 - bfont->min_char_or_byte2 + 1;
158 if (bfont != NULL) {
159 int h = (bfont->max_bounds.ascent + bfont->max_bounds.descent) + 1;
189 items[i*SEGS+1].font = bfont->fid;
204 GetRealChar(bfont, btotalChars, bch);
205 *pbuf1++ = bch / bcolumns + bfont->min_byte1;
206 *pbuf1++ = bch % bcolumns + bfont->min_char_or_byte2;
372 if (bfont != NULL)
373 XFreeFont(xp->d, bfont);
394 if(bfont != NULL) {
395 XFreeFont(xp->d, bfont);
421 if (p->bfont) {