Lines Matching defs:widths
64 unsigned char *widths; /* Malloc'ed array giving widths of all
199 fontPtr->widths = NULL;
310 if (fontPtr->widths != NULL) {
311 ckfree((char *) fontPtr->widths);
349 * This procedure is called to fill in the "widths" and "types"
375 fontPtr->widths = (unsigned char *) ckalloc(256);
393 fontPtr->widths[i] = fontStructPtr->min_bounds.width;
395 fontPtr->widths[i] = fontStructPtr->per_char[i
420 fontPtr->widths[i] = fontPtr->widths['\\']
421 + fontPtr->widths[mapChars[i]];
423 fontPtr->widths[i] = fontPtr->widths['\\']
424 + fontPtr->widths['x']
425 + fontPtr->widths[hexChars[i & 0xf]]
426 + fontPtr->widths[hexChars[(i>>4) & 0xf]];
430 fontPtr->widths[i] = 0;
440 fontPtr->widths['\t'] = 0;
442 fontPtr->tabWidth = 8*fontPtr->widths['0'];
560 newX += fontPtr->widths[c];
572 newX += fontPtr->widths[c];
714 curX += fontPtr->widths[c];
736 curX += fontPtr->widths[replace[0]]
737 + fontPtr->widths[replace[1]];
744 curX += fontPtr->widths[replace[0]]
745 + fontPtr->widths[replace[1]]
746 + fontPtr->widths[replace[2]]
747 + fontPtr->widths[replace[3]];