Lines Matching refs:word
80 FX_BOOL CPWL_FontMap::KnowWord(int32_t nFontIndex, FX_WORD word) { in KnowWord() argument
83 return CharCodeFromUnicode(nFontIndex, word) >= 0; in KnowWord()
90 int32_t CPWL_FontMap::GetWordFontIndex(FX_WORD word, in GetWordFontIndex() argument
94 if (KnowWord(nFontIndex, word)) in GetWordFontIndex()
100 if (KnowWord(0, word)) in GetWordFontIndex()
109 if (KnowWord(nNewFontIndex, word)) in GetWordFontIndex()
114 if (KnowWord(nNewFontIndex, word)) in GetWordFontIndex()
120 int32_t CPWL_FontMap::CharCodeFromUnicode(int32_t nFontIndex, FX_WORD word) { in CharCodeFromUnicode() argument
124 int nCharCode = pData->pFont->CharCodeFromUnicode(word); in CharCodeFromUnicode()
128 if (word < 0xFF) in CharCodeFromUnicode()
129 return word; in CharCodeFromUnicode()
220 int32_t CPWL_FontMap::GetPWLFontIndex(FX_WORD word, int32_t nCharset) { in GetPWLFontIndex() argument
435 int32_t CPWL_FontMap::CharSetFromUnicode(FX_WORD word, int32_t nOldCharset) { in CharSetFromUnicode() argument
439 if (word < 0x7F) in CharSetFromUnicode()
446 if ((word >= 0x4E00 && word <= 0x9FA5) || in CharSetFromUnicode()
447 (word >= 0xE7C7 && word <= 0xE7F3) || in CharSetFromUnicode()
448 (word >= 0x3000 && word <= 0x303F) || in CharSetFromUnicode()
449 (word >= 0x2000 && word <= 0x206F)) { in CharSetFromUnicode()
453 if (((word >= 0x3040) && (word <= 0x309F)) || in CharSetFromUnicode()
454 ((word >= 0x30A0) && (word <= 0x30FF)) || in CharSetFromUnicode()
455 ((word >= 0x31F0) && (word <= 0x31FF)) || in CharSetFromUnicode()
456 ((word >= 0xFF00) && (word <= 0xFFEF))) { in CharSetFromUnicode()
460 if (((word >= 0xAC00) && (word <= 0xD7AF)) || in CharSetFromUnicode()
461 ((word >= 0x1100) && (word <= 0x11FF)) || in CharSetFromUnicode()
462 ((word >= 0x3130) && (word <= 0x318F))) { in CharSetFromUnicode()
466 if (word >= 0x0E00 && word <= 0x0E7F) in CharSetFromUnicode()
469 if ((word >= 0x0370 && word <= 0x03FF) || (word >= 0x1F00 && word <= 0x1FFF)) in CharSetFromUnicode()
472 if ((word >= 0x0600 && word <= 0x06FF) || (word >= 0xFB50 && word <= 0xFEFC)) in CharSetFromUnicode()
475 if (word >= 0x0590 && word <= 0x05FF) in CharSetFromUnicode()
478 if (word >= 0x0400 && word <= 0x04FF) in CharSetFromUnicode()
481 if (word >= 0x0100 && word <= 0x024F) in CharSetFromUnicode()
484 if (word >= 0x1E00 && word <= 0x1EFF) in CharSetFromUnicode()