Lines Matching defs:face_index
137 int weight, FX_BOOL bItalic, FX_LPBYTE pData, FX_DWORD size, int face_index)
154 int ret = FXFT_New_Memory_Face(library, pData, size, face_index, &pFontDesc->m_SingleFace.m_pFace);
300 int face_index = 0;
311 face_index = 0;
313 face_index = index;
315 return face_index;
329 int face_index = GetTTCIndex(pFontDesc->m_pFontData, ttc_size, font_offset);
330 if (pFontDesc->m_TTCFace.m_pFaces[face_index] == NULL) {
331 pFontDesc->m_TTCFace.m_pFaces[face_index] = GetFixedFace(pFontDesc->m_pFontData, ttc_size, face_index);
333 return pFontDesc->m_TTCFace.m_pFaces[face_index];
352 int face_index = GetTTCIndex(pFontDesc->m_pFontData, ttc_size, font_offset);
353 pFontDesc->m_TTCFace.m_pFaces[face_index] = GetFixedFace(pFontDesc->m_pFontData, ttc_size, face_index);
354 return pFontDesc->m_TTCFace.m_pFaces[face_index];
356 FXFT_Face CFX_FontMgr::GetFixedFace(FX_LPCBYTE pData, FX_DWORD size, int face_index)
364 int ret = FXFT_New_Memory_Face(library, pData, size, face_index, &face);
374 FXFT_Face CFX_FontMgr::GetFileFace(FX_LPCSTR filename, int face_index)
382 int ret = FXFT_New_Face(library, filename, face_index, &face);