Lines Matching refs:pInstalled
536 int32_t CalcPenalty(CFX_FontDescriptor* pInstalled, in CalcPenalty() argument
543 if (FontName != pInstalled->m_wsFaceName) { in CalcPenalty()
545 for (i = 0; i < pInstalled->m_wsFamilyNames.size(); ++i) { in CalcPenalty()
546 if (pInstalled->m_wsFamilyNames[i] == FontName) in CalcPenalty()
549 if (i == pInstalled->m_wsFamilyNames.size()) in CalcPenalty()
556 if (nPenalty == 30000 && !IsPartName(pInstalled->m_wsFaceName, FontName)) { in CalcPenalty()
558 for (i = 0; i < pInstalled->m_wsFamilyNames.size(); i++) { in CalcPenalty()
559 if (IsPartName(pInstalled->m_wsFamilyNames[i], FontName)) in CalcPenalty()
562 if (i == pInstalled->m_wsFamilyNames.size()) in CalcPenalty()
570 uint32_t dwStyleMask = pInstalled->m_dwFontStyles ^ dwFontStyles; in CalcPenalty()
589 if ((pInstalled->m_dwCsb[wBit / 32] & (1 << (wBit % 32))) == 0) in CalcPenalty()
598 if ((pInstalled->m_dwUsb[wBit / 32] & (1 << (wBit % 32))) == 0) in CalcPenalty()