Searched refs:pInstalled (Results 1 – 1 of 1) sorted by relevance
536 int32_t CalcPenalty(CFX_FontDescriptor* pInstalled, in CalcPenalty() argument543 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()[all …]