Lines Matching defs:pFontInfo

113 snfCopyInfo(snfFontInfoPtr snfInfo, FontInfoPtr pFontInfo)
115 pFontInfo->firstCol = snfInfo->firstCol;
116 pFontInfo->lastCol = snfInfo->lastCol;
117 pFontInfo->firstRow = snfInfo->firstRow;
118 pFontInfo->lastRow = snfInfo->lastRow;
119 pFontInfo->defaultCh = snfInfo->chDefault;
120 pFontInfo->noOverlap = snfInfo->noOverlap;
121 pFontInfo->terminalFont = snfInfo->terminalFont;
122 pFontInfo->constantMetrics = snfInfo->constantMetrics;
123 pFontInfo->constantWidth = snfInfo->constantWidth;
124 pFontInfo->inkInside = snfInfo->inkInside;
125 pFontInfo->inkMetrics = snfInfo->inkMetrics;
126 pFontInfo->allExist = snfInfo->allExist;
127 pFontInfo->drawDirection = snfInfo->drawDirection;
128 pFontInfo->anamorphic = FALSE;
129 pFontInfo->cachable = TRUE;
130 pFontInfo->maxOverlap = 0;
131 pFontInfo->minbounds = snfInfo->minbounds.metrics;
132 pFontInfo->maxbounds = snfInfo->maxbounds.metrics;
133 pFontInfo->fontAscent = snfInfo->fontAscent;
134 pFontInfo->fontDescent = snfInfo->fontDescent;
135 pFontInfo->nprops = snfInfo->nProps;
139 snfReadProps(snfFontInfoPtr snfInfo, FontInfoPtr pFontInfo, FontFilePtr file)
164 for (i = 0, pfp = pFontInfo->props; i < snfInfo->nProps; i++, pfp++, psnfp++) {
167 pFontInfo->isStringProp[i] = psnfp->indirect;
445 snfReadFontInfo(FontInfoPtr pFontInfo, FontFilePtr file)
455 snfCopyInfo(&fi, pFontInfo);
457 pFontInfo->props = mallocarray(fi.nProps, sizeof(FontPropRec));
458 if (!pFontInfo->props) {
463 pFontInfo->isStringProp = mallocarray(fi.nProps, sizeof(char));
464 if (!pFontInfo->isStringProp) {
467 free(pFontInfo->props);
475 ret = snfReadProps(&fi, pFontInfo, file);
477 free(pFontInfo->props);
478 free(pFontInfo->isStringProp);
482 ret = snfReadxCharInfo(file, &pFontInfo->ink_minbounds);
484 free(pFontInfo->props);
485 free(pFontInfo->isStringProp);
488 ret = snfReadxCharInfo(file, &pFontInfo->ink_maxbounds);
490 free(pFontInfo->props);
491 free(pFontInfo->isStringProp);
495 pFontInfo->ink_minbounds = pFontInfo->minbounds;
496 pFontInfo->ink_maxbounds = pFontInfo->maxbounds;