Lines Matching refs:m_pCMap
143 m_pCMap = NULL;
149 m_pCMap = pCMap;
264 m_pCMap->m_pMapping[code] = (FX_WORD)(StartCID + code - StartCode);
277 m_pCMap->m_Charset = _CharsetFromOrdering(CMap_GetString(word));
283 m_pCMap->m_bVertical = CMap_GetCode(word);
289 m_pCMap->m_CodingScheme = CPDF_CMap::MixedFourBytes;
290 m_pCMap->m_nCodeRanges = nSegs;
291 m_pCMap->m_pLeadingBytes = FX_Alloc(FX_BYTE, nSegs * sizeof(_CMap_CodeRange));
292 FXSYS_memcpy32(m_pCMap->m_pLeadingBytes, m_CodeRanges.GetData(), nSegs * sizeof(_CMap_CodeRange));
294 m_pCMap->m_CodingScheme = (m_CodeRanges[0].m_CharSize == 2) ? CPDF_CMap::TwoBytes : CPDF_CMap::OneByte;
813 m_pCMap = NULL;
840 if (m_pCMap == NULL) {
843 return m_pCMap->CIDFromCharCode(charcode);
847 return m_pCMap ? m_pCMap->IsVertWriting() : FALSE;
893 switch (m_pCMap->m_Coding) {
903 if (!m_pCMap->IsLoaded() || m_pCID2UnicodeMap == NULL || !m_pCID2UnicodeMap->IsLoaded()) {
911 int ret = FXSYS_MultiByteToWideChar(g_CharsetCPs[m_pCMap->m_Coding], 0, (FX_LPCSTR)&charcode, charsize, &unicode, 1);
917 if (m_pCMap->m_pEmbedMap) {
918 return _EmbeddedUnicodeFromCharcode(m_pCMap->m_pEmbedMap, m_pCMap->m_Charset, charcode);
927 switch (m_pCMap->m_Coding) {
950 int ret = FXSYS_WideCharToMultiByte(g_CharsetCPs[m_pCMap->m_Coding], 0, &unicode, 1, (char*)buffer, 4, NULL, NULL);
961 if (m_pCMap->m_pEmbedMap) {
962 return _EmbeddedCharcodeFromUnicode(m_pCMap->m_pEmbedMap, m_pCMap->m_Charset, unicode);
1032 m_pCMap = CPDF_ModuleMgr::Get()->GetPageModule()->GetFontGlobals()->m_CMapManager.GetPredefinedCMap(cmap,
1035 m_pAllocatedCMap = m_pCMap = FX_NEW CPDF_CMap;
1039 m_pCMap->LoadEmbedded(acc.GetData(), acc.GetSize());
1043 if (m_pCMap == NULL) {
1046 m_Charset = m_pCMap->m_Charset;
1055 m_pFontFile == NULL && (m_pCMap->m_Coding == CIDCODING_CID || pCIDFontDict->KeyExist(FX_BSTRC("W"))));
1060 FT_UseCIDCharmap(m_Font.GetFace(), m_pCMap->m_Coding);
1411 if (m_pFontFile && m_pCMap->m_pMapping == NULL) {
1414 if (m_pCMap->m_Coding == CIDCODING_UNKNOWN || FXFT_Get_Face_Charmap(m_Font.m_Face) == NULL) {
1436 return m_pCMap->GetNextChar(pString, offset);
1440 return m_pCMap->GetCharSize(charcode);
1444 return m_pCMap->CountChar(pString, size);
1448 return m_pCMap->AppendChar(str, charcode);
1452 if (!m_pCMap->IsLoaded() || m_pCID2UnicodeMap == NULL || !m_pCID2UnicodeMap->IsLoaded()) {
1453 return m_pCMap->m_Coding != CIDCODING_UNKNOWN;
1522 m_pCMap = CPDF_ModuleMgr::Get()->GetPageModule()->GetFontGlobals()->m_CMapManager.GetPredefinedCMap(