Lines Matching refs:iBaseFont
773 FXFT_Face CFX_FontMapper::UseInternalSubst(CFX_SubstFont* pSubstFont, int iBaseFont, int italic_angle, int weight, int picthfamily)
775 if (iBaseFont < 12) {
776 if (m_FoxitFaces[iBaseFont]) {
777 return m_FoxitFaces[iBaseFont];
781 if (m_pFontMgr->GetStandardFont(pFontData, size, iBaseFont)) {
782 m_FoxitFaces[iBaseFont] = m_pFontMgr->GetFixedFace(pFontData, size, 0);
783 return m_FoxitFaces[iBaseFont];
957 int iBaseFont = 0;
970 for (; iBaseFont < 12; iBaseFont ++)
971 if (family == CFX_ByteStringC(g_Base14FontNames[iBaseFont])) {
980 if (iBaseFont < 12) {
981 family = g_Base14FontNames[iBaseFont];
982 if ((iBaseFont % 4) == 1 || (iBaseFont % 4) == 2) {
985 if ((iBaseFont % 4) / 2) {
988 if (iBaseFont < 4) {
991 if (iBaseFont >= 8) {
1040 iBaseFont = 12;
1058 iBaseFont = 12;
1087 } else if (iBaseFont == 12 && (flags & FXFONT_SYMBOLIC)) {
1096 return UseInternalSubst(pSubstFont, iBaseFont, italic_angle, old_weight, PitchFamily);
1103 if (match.IsEmpty() && iBaseFont >= 12) {
1128 if (!match.IsEmpty() || iBaseFont < 12) {
1133 if (iBaseFont < 12) {
1134 if (nStyle && !(iBaseFont % 4)) {
1136 iBaseFont += 1;
1139 iBaseFont += 3;
1142 iBaseFont += 2;
1145 if (m_pFontMgr->m_ExternalFonts[iBaseFont].m_pFontData) {
1146 if (m_FoxitFaces[iBaseFont]) {
1147 return m_FoxitFaces[iBaseFont];
1149 m_FoxitFaces[iBaseFont] = m_pFontMgr->GetFixedFace(m_pFontMgr->m_ExternalFonts[iBaseFont].m_pFontData,
1150 m_pFontMgr->m_ExternalFonts[iBaseFont].m_dwSize, 0);
1151 if (m_FoxitFaces[iBaseFont]) {
1152 return m_FoxitFaces[iBaseFont];
1155 family = g_Base14FontNames[iBaseFont];
1181 return UseInternalSubst(pSubstFont, iBaseFont, italic_angle, old_weight, PitchFamily);
1209 return UseInternalSubst(pSubstFont, iBaseFont, italic_angle, old_weight, PitchFamily);
1213 return UseInternalSubst(pSubstFont, iBaseFont, italic_angle, old_weight, PitchFamily);