Home
last modified time | relevance | path

Searched refs:ttc_size (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxge/ge/
Dcfx_fontmgr.cpp59 CFX_ByteString KeyNameFromSize(int ttc_size, uint32_t checksum) { in KeyNameFromSize() argument
61 key.Format("%d:%d", ttc_size, checksum); in KeyNameFromSize()
66 uint32_t ttc_size, in GetTTCIndex() argument
170 FXFT_Face CFX_FontMgr::GetCachedTTCFace(int ttc_size, in GetCachedTTCFace() argument
174 auto it = m_FaceMap.find(KeyNameFromSize(ttc_size, checksum)); in GetCachedTTCFace()
181 int face_index = GetTTCIndex(pFontDesc->m_pFontData, ttc_size, font_offset); in GetCachedTTCFace()
184 GetFixedFace(pFontDesc->m_pFontData, ttc_size, face_index); in GetCachedTTCFace()
189 FXFT_Face CFX_FontMgr::AddCachedTTCFace(int ttc_size, in AddCachedTTCFace() argument
200 m_FaceMap[KeyNameFromSize(ttc_size, checksum)] = pFontDesc; in AddCachedTTCFace()
201 int face_index = GetTTCIndex(pFontDesc->m_pFontData, ttc_size, font_offset); in AddCachedTTCFace()
[all …]
Dcfx_fontmapper.cpp684 uint32_t ttc_size = m_pFontInfo->GetFontData(hFont, kTableTTCF, nullptr, 0); in FindSubstFont() local
686 if (font_size == 0 && ttc_size == 0) { in FindSubstFont()
691 if (ttc_size) in FindSubstFont()
692 face = GetCachedTTCFace(hFont, kTableTTCF, ttc_size, font_size); in FindSubstFont()
735 uint32_t ttc_size = m_pFontInfo->GetFontData(hFont, 0x74746366, nullptr, 0); in FindSubstFontByUnicode() local
737 if (font_size == 0 && ttc_size == 0) { in FindSubstFontByUnicode()
742 if (ttc_size) { in FindSubstFontByUnicode()
743 face = GetCachedTTCFace(hFont, 0x74746366, ttc_size, font_size); in FindSubstFontByUnicode()
772 uint32_t ttc_size, in GetCachedTTCFace() argument
782 face = m_pFontMgr->GetCachedTTCFace(ttc_size, checksum, ttc_size - font_size, in GetCachedTTCFace()
[all …]
/external/pdfium/core/fxge/
Dcfx_fontmgr.h37 FXFT_Face GetCachedTTCFace(int ttc_size,
41 FXFT_Face AddCachedTTCFace(int ttc_size,
Dcfx_fontmapper.h64 uint32_t ttc_size,