Lines Matching refs:pFont
21 CFX_GEFont* pFont = new CFX_GEFont(pFontMgr);
22 if (!pFont->LoadFont(pszFontFamily, dwFontStyles, wCodePage)) {
23 pFont->Release();
26 return pFont;
38 CFX_GEFont* pFont = new CFX_GEFont(pFontMgr);
39 if (!pFont->LoadFont(pBuffer, iLength)) {
40 pFont->Release();
43 return pFont;
54 CFX_GEFont* pFont = new CFX_GEFont(pFontMgr);
55 if (!pFont->LoadFont(pszFileName)) {
56 pFont->Release();
59 return pFont;
71 CFX_GEFont* pFont = new CFX_GEFont(pFontMgr);
72 if (!pFont->LoadFont(pFontStream, bSaveStream)) {
73 pFont->Release();
76 return pFont;
82 CFX_GEFont* pFont = new CFX_GEFont(pFontMgr);
83 if (!pFont->LoadFont(pExtFont, bTakeOver)) {
84 pFont->Release();
87 return pFont;
150 IFX_Font* pFont = (IFX_Font*)m_SubstFonts[i];
151 pFont->Release();
406 IFX_Font* pFont = NULL;
407 int32_t iGlyph = GetGlyphIndex(wUnicode, TRUE, &pFont, bCharCode);
408 if (iGlyph != 0xFFFF && pFont != NULL) {
409 if (pFont == (IFX_Font*)this) {
414 } else if (((CFX_GEFont*)pFont)
443 IFX_Font* pFont = NULL;
444 int32_t iGlyph = GetGlyphIndex(wUnicode, TRUE, &pFont, bCharCode);
445 if (iGlyph != 0xFFFF && pFont != NULL) {
446 if (pFont == (IFX_Font*)this) {
457 } else if (((CFX_GEFont*)pFont)
509 IFX_Font* pFont = NULL;
510 m_FontMapper.Lookup((void*)(uintptr_t)wUnicode, (void*&)pFont);
511 if (pFont != NULL && pFont != (IFX_Font*)this) {
513 ((CFX_GEFont*)pFont)->GetGlyphIndex(wUnicode, FALSE, NULL, bCharCode);
515 int32_t i = m_SubstFonts.Find(pFont);
519 *ppFont = pFont;
529 IFX_Font* pFont = m_pFontMgr->GetDefFontByUnicode(
532 IFX_Font* pFont = m_pFontMgr->GetFontByUnicode(wUnicode, GetFontStyles(),
534 if (NULL == pFont) {
535 pFont = m_pFontMgr->GetFontByUnicode(wUnicode, GetFontStyles(), NULL);
538 if (pFont != NULL) {
539 if (pFont == (IFX_Font*)this) {
540 pFont->Release();
543 m_FontMapper.SetAt((void*)(uintptr_t)wUnicode, (void*)pFont);
545 m_SubstFonts.Add(pFont);
547 ((CFX_GEFont*)pFont)->GetGlyphIndex(wUnicode, FALSE, NULL, bCharCode);
551 *ppFont = pFont;
569 IFX_Font* pFont = (IFX_Font*)m_SubstFonts[i];
570 ((CFX_GEFont*)pFont)->Reset();