Lines Matching defs:pFontInfo
111 snfCopyInfo(snfFontInfoPtr snfInfo, FontInfoPtr pFontInfo)
113 pFontInfo->firstCol = snfInfo->firstCol;
114 pFontInfo->lastCol = snfInfo->lastCol;
115 pFontInfo->firstRow = snfInfo->firstRow;
116 pFontInfo->lastRow = snfInfo->lastRow;
117 pFontInfo->defaultCh = snfInfo->chDefault;
118 pFontInfo->noOverlap = snfInfo->noOverlap;
119 pFontInfo->terminalFont = snfInfo->terminalFont;
120 pFontInfo->constantMetrics = snfInfo->constantMetrics;
121 pFontInfo->constantWidth = snfInfo->constantWidth;
122 pFontInfo->inkInside = snfInfo->inkInside;
123 pFontInfo->inkMetrics = snfInfo->inkMetrics;
124 pFontInfo->allExist = snfInfo->allExist;
125 pFontInfo->drawDirection = snfInfo->drawDirection;
126 pFontInfo->anamorphic = FALSE;
127 pFontInfo->cachable = TRUE;
128 pFontInfo->maxOverlap = 0;
129 pFontInfo->minbounds = snfInfo->minbounds.metrics;
130 pFontInfo->maxbounds = snfInfo->maxbounds.metrics;
131 pFontInfo->fontAscent = snfInfo->fontAscent;
132 pFontInfo->fontDescent = snfInfo->fontDescent;
133 pFontInfo->nprops = snfInfo->nProps;
137 snfReadProps(snfFontInfoPtr snfInfo, FontInfoPtr pFontInfo, FontFilePtr file)
162 for (i = 0, pfp = pFontInfo->props; i < snfInfo->nProps; i++, pfp++, psnfp++) {
165 pFontInfo->isStringProp[i] = psnfp->indirect;
443 snfReadFontInfo(FontInfoPtr pFontInfo, FontFilePtr file)
453 snfCopyInfo(&fi, pFontInfo);
455 pFontInfo->props = malloc(fi.nProps * sizeof(FontPropRec));
456 if (!pFontInfo->props) {
461 pFontInfo->isStringProp = malloc(fi.nProps * sizeof(char));
462 if (!pFontInfo->isStringProp) {
465 free(pFontInfo->props);
473 ret = snfReadProps(&fi, pFontInfo, file);
475 free(pFontInfo->props);
476 free(pFontInfo->isStringProp);
480 ret = snfReadxCharInfo(file, &pFontInfo->ink_minbounds);
482 free(pFontInfo->props);
483 free(pFontInfo->isStringProp);
486 ret = snfReadxCharInfo(file, &pFontInfo->ink_maxbounds);
488 free(pFontInfo->props);
489 free(pFontInfo->isStringProp);
493 pFontInfo->ink_minbounds = pFontInfo->minbounds;
494 pFontInfo->ink_maxbounds = pFontInfo->maxbounds;