Lines Matching defs:pFontInfo
240 pcfGetProperties(FontInfoPtr pFontInfo, FontFilePtr file,
330 pFontInfo->isStringProp = isStringProp;
331 pFontInfo->props = props;
332 pFontInfo->nprops = nprops;
349 pcfGetAccel(FontInfoPtr pFontInfo, FontFilePtr file,
364 pFontInfo->noOverlap = pcfGetINT8(file, format);
365 pFontInfo->constantMetrics = pcfGetINT8(file, format);
366 pFontInfo->terminalFont = pcfGetINT8(file, format);
367 pFontInfo->constantWidth = pcfGetINT8(file, format);
368 pFontInfo->inkInside = pcfGetINT8(file, format);
369 pFontInfo->inkMetrics = pcfGetINT8(file, format);
370 pFontInfo->drawDirection = pcfGetINT8(file, format);
371 pFontInfo->anamorphic = FALSE;
372 pFontInfo->cachable = TRUE;
374 pFontInfo->fontAscent = pcfGetINT32(file, format);
375 pFontInfo->fontDescent = pcfGetINT32(file, format);
376 pFontInfo->maxOverlap = pcfGetINT32(file, format);
378 if (!pcfGetMetric(file, format, &pFontInfo->minbounds))
380 if (!pcfGetMetric(file, format, &pFontInfo->maxbounds))
383 if (!pcfGetMetric(file, format, &pFontInfo->ink_minbounds))
385 if (!pcfGetMetric(file, format, &pFontInfo->ink_maxbounds))
388 pFontInfo->ink_minbounds = pFontInfo->minbounds;
389 pFontInfo->ink_maxbounds = pFontInfo->maxbounds;
704 pcfReadFontInfo(FontInfoPtr pFontInfo, FontFilePtr file)
713 pFontInfo->isStringProp = NULL;
714 pFontInfo->props = NULL;
715 pFontInfo->nprops = 0;
722 if (!pcfGetProperties(pFontInfo, file, tables, ntables))
729 if (!pcfGetAccel (pFontInfo, file, tables, ntables, PCF_ACCELERATORS))
740 pFontInfo->firstCol = pcfGetINT16(file, format);
741 pFontInfo->lastCol = pcfGetINT16(file, format);
742 pFontInfo->firstRow = pcfGetINT16(file, format);
743 pFontInfo->lastRow = pcfGetINT16(file, format);
744 pFontInfo->defaultCh = pcfGetINT16(file, format);
746 if (pFontInfo->firstCol > pFontInfo->lastCol ||
747 pFontInfo->firstRow > pFontInfo->lastRow ||
748 pFontInfo->lastCol-pFontInfo->firstCol > 255) goto Bail;
750 nencoding = (pFontInfo->lastCol - pFontInfo->firstCol + 1) *
751 (pFontInfo->lastRow - pFontInfo->firstRow + 1);
753 pFontInfo->allExist = TRUE;
756 pFontInfo->allExist = FALSE;
764 if (!pcfGetAccel (pFontInfo, file, tables, ntables, PCF_BDF_ACCELERATORS))
770 pFontInfo->nprops = 0;
771 free (pFontInfo->props);
772 free (pFontInfo->isStringProp);