Lines Matching refs:nFontIndex
45 int32_t nFontIndex, in GetFontSetString() argument
50 CFX_ByteString sFontAlias = pFontMap->GetPDFFontAlias(nFontIndex); in GetFontSetString()
161 int32_t CFX_Edit_Provider::GetCharWidth(int32_t nFontIndex, uint16_t word) { in GetCharWidth() argument
162 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth()
168 charcode = m_pFontMap->CharCodeFromUnicode(nFontIndex, word); in GetCharWidth()
177 int32_t CFX_Edit_Provider::GetTypeAscent(int32_t nFontIndex) { in GetTypeAscent() argument
178 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeAscent()
184 int32_t CFX_Edit_Provider::GetTypeDescent(int32_t nFontIndex) { in GetTypeDescent() argument
185 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeDescent()
193 int32_t nFontIndex) { in GetWordFontIndex() argument
194 return m_pFontMap->GetWordFontIndex(word, charset, nFontIndex); in GetWordFontIndex()
625 if (word.nFontIndex != nCurFontIndex) { in GetEditAppearanceStream()
630 sEditStream << GetFontSetString(pEdit->GetFontMap(), word.nFontIndex, in GetEditAppearanceStream()
632 nCurFontIndex = word.nFontIndex; in GetEditAppearanceStream()
652 if (word.nFontIndex != nCurFontIndex) { in GetEditAppearanceStream()
653 sEditStream << GetFontSetString(pEdit->GetFontMap(), word.nFontIndex, in GetEditAppearanceStream()
655 nCurFontIndex = word.nFontIndex; in GetEditAppearanceStream()
741 int32_t nFontIndex = -1; in DrawEdit() local
796 if (place.LineCmp(oldplace) != 0 || word.nFontIndex != nFontIndex || in DrawEdit()
801 pFontMap->GetPDFFont(nFontIndex), fFontSize, pUser2Device, in DrawEdit()
806 nFontIndex = word.nFontIndex; in DrawEdit()
811 sTextBuf << GetPDFWordString(pFontMap, word.nFontIndex, word.Word, in DrawEdit()
818 pFontMap->GetPDFFont(word.nFontIndex), fFontSize, pUser2Device, in DrawEdit()
819 GetPDFWordString(pFontMap, word.nFontIndex, word.Word, SubWord), in DrawEdit()
829 pFontMap->GetPDFFont(nFontIndex), fFontSize, pUser2Device, in DrawEdit()