Lines Matching defs:pFontInfo
42 FontComputeInfoAccelerators(FontInfoPtr pFontInfo)
44 pFontInfo->noOverlap = FALSE;
45 if (pFontInfo->maxOverlap <= pFontInfo->minbounds.leftSideBearing)
46 pFontInfo->noOverlap = TRUE;
48 if ((pFontInfo->minbounds.ascent == pFontInfo->maxbounds.ascent) &&
49 (pFontInfo->minbounds.descent == pFontInfo->maxbounds.descent) &&
50 (pFontInfo->minbounds.leftSideBearing ==
51 pFontInfo->maxbounds.leftSideBearing) &&
52 (pFontInfo->minbounds.rightSideBearing ==
53 pFontInfo->maxbounds.rightSideBearing) &&
54 (pFontInfo->minbounds.characterWidth ==
55 pFontInfo->maxbounds.characterWidth) &&
56 (pFontInfo->minbounds.attributes == pFontInfo->maxbounds.attributes)) {
57 pFontInfo->constantMetrics = TRUE;
58 if ((pFontInfo->maxbounds.leftSideBearing == 0) &&
59 (pFontInfo->maxbounds.rightSideBearing ==
60 pFontInfo->maxbounds.characterWidth) &&
61 (pFontInfo->maxbounds.ascent == pFontInfo->fontAscent) &&
62 (pFontInfo->maxbounds.descent == pFontInfo->fontDescent))
63 pFontInfo->terminalFont = TRUE;
65 pFontInfo->terminalFont = FALSE;
67 pFontInfo->constantMetrics = FALSE;
68 pFontInfo->terminalFont = FALSE;
70 if (pFontInfo->minbounds.characterWidth == pFontInfo->maxbounds.characterWidth)
71 pFontInfo->constantWidth = TRUE;
73 pFontInfo->constantWidth = FALSE;
75 if ((pFontInfo->minbounds.leftSideBearing >= 0) &&
76 (pFontInfo->maxOverlap <= 0) &&
77 (pFontInfo->minbounds.ascent >= -pFontInfo->fontDescent) &&
78 (pFontInfo->maxbounds.ascent <= pFontInfo->fontAscent) &&
79 (-pFontInfo->minbounds.descent <= pFontInfo->fontAscent) &&
80 (pFontInfo->maxbounds.descent <= pFontInfo->fontDescent))
81 pFontInfo->inkInside = TRUE;
83 pFontInfo->inkInside = FALSE;
87 FontCouldBeTerminal(FontInfoPtr pFontInfo)
89 if ((pFontInfo->minbounds.leftSideBearing >= 0) &&
90 (pFontInfo->maxbounds.rightSideBearing <= pFontInfo->maxbounds.characterWidth) &&
91 (pFontInfo->minbounds.characterWidth == pFontInfo->maxbounds.characterWidth) &&
92 (pFontInfo->maxbounds.ascent <= pFontInfo->fontAscent) &&
93 (pFontInfo->maxbounds.descent <= pFontInfo->fontDescent) &&
94 (pFontInfo->maxbounds.leftSideBearing != 0 ||
95 pFontInfo->minbounds.rightSideBearing != pFontInfo->minbounds.characterWidth ||
96 pFontInfo->minbounds.ascent != pFontInfo->fontAscent ||
97 pFontInfo->minbounds.descent != pFontInfo->fontDescent)) {
99 if (pFontInfo->maxbounds.ascent == 0 &&
100 pFontInfo->maxbounds.descent == 0)