Lines Matching refs:nFontIndex
45 CPDF_Font* GetPDFFont(FX_INT32 nFontIndex);
46 CFX_ByteString GetPDFFontAlias(FX_INT32 nFontIndex);
87 CPDF_Font* CPVT_FontMap::GetPDFFont(FX_INT32 nFontIndex)
89 switch (nFontIndex) {
100 CFX_ByteString CPVT_FontMap::GetPDFFontAlias(FX_INT32 nFontIndex)
102 switch (nFontIndex) {
120 FX_INT32 CPVT_Provider::GetCharWidth(FX_INT32 nFontIndex, FX_WORD word, FX_INT32 nWordStyle)
122 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) {
130 FX_INT32 CPVT_Provider::GetTypeAscent(FX_INT32 nFontIndex)
132 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) {
137 FX_INT32 CPVT_Provider::GetTypeDescent(FX_INT32 nFontIndex)
139 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) {
144 FX_INT32 CPVT_Provider::GetWordFontIndex(FX_WORD word, FX_INT32 charset, FX_INT32 nFontIndex)
168 static CFX_ByteString GetPDFWordString(IPVT_FontMap * pFontMap, FX_INT32 nFontIndex, FX_WORD Word, FX_WORD SubWord)
175 if (CPDF_Font * pPDFFont = pFontMap->GetPDFFont(nFontIndex)) {
196 static CFX_ByteString GetFontSetString(IPVT_FontMap * pFontMap, FX_INT32 nFontIndex, FX_FLOAT fFontSize)
200 CFX_ByteString sFontAlias = pFontMap->GetPDFFontAlias(nFontIndex);
677 if (word.nFontIndex != nCurFontIndex) {
682 sLineStream << GetFontSetString(pFontMap, word.nFontIndex, word.fFontSize);
683 nCurFontIndex = word.nFontIndex;
696 if (word.nFontIndex != nCurFontIndex) {
697 sEditStream << GetFontSetString(pFontMap, word.nFontIndex, word.fFontSize);
698 nCurFontIndex = word.nFontIndex;