Lines Matching refs:nchars
266 nchars,
293 if ((!line) || (sscanf((char *) line, "CHARS %d", &nchars) != 1)) {
297 if (nchars < 1) {
301 if (nchars > (signed) (INT32_MAX / sizeof(CharInfoRec))) {
302 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
306 ci = calloc(nchars, sizeof(CharInfoRec));
308 bdfError("Couldn't allocate pCI (%d*%d)\n", nchars,
315 bitmapExtra->glyphNames = malloc(nchars * sizeof(Atom));
318 nchars, (int) sizeof(Atom));
323 bitmapExtra->sWidths = malloc(nchars * sizeof(int));
326 nchars, (int) sizeof(int));
336 for (ndx = 0; (ndx < nchars) && (line) && (bdfIsPrefix(line, "STARTCHAR"));) {
496 if (ndx + nignored != nchars) {
497 bdfError("%d too few characters\n", nchars - (ndx + nignored));
500 nchars = ndx;
501 bitmapFont->num_chars = nchars;