Lines Matching refs:word
76 bool CPWL_FontMap::KnowWord(int32_t nFontIndex, uint16_t word) { in KnowWord() argument
78 CharCodeFromUnicode(nFontIndex, word) >= 0; in KnowWord()
81 int32_t CPWL_FontMap::GetWordFontIndex(uint16_t word, in GetWordFontIndex() argument
85 if (KnowWord(nFontIndex, word)) in GetWordFontIndex()
91 if (KnowWord(0, word)) in GetWordFontIndex()
100 if (KnowWord(nNewFontIndex, word)) in GetWordFontIndex()
105 if (KnowWord(nNewFontIndex, word)) in GetWordFontIndex()
111 int32_t CPWL_FontMap::CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) { in CharCodeFromUnicode() argument
120 return pData->pFont->CharCodeFromUnicode(word); in CharCodeFromUnicode()
122 return word < 0xFF ? word : -1; in CharCodeFromUnicode()
357 int32_t CPWL_FontMap::CharSetFromUnicode(uint16_t word, int32_t nOldCharset) { in CharSetFromUnicode() argument
359 if (word < 0x7F) in CharSetFromUnicode()
366 if ((word >= 0x4E00 && word <= 0x9FA5) || in CharSetFromUnicode()
367 (word >= 0xE7C7 && word <= 0xE7F3) || in CharSetFromUnicode()
368 (word >= 0x3000 && word <= 0x303F) || in CharSetFromUnicode()
369 (word >= 0x2000 && word <= 0x206F)) { in CharSetFromUnicode()
373 if (((word >= 0x3040) && (word <= 0x309F)) || in CharSetFromUnicode()
374 ((word >= 0x30A0) && (word <= 0x30FF)) || in CharSetFromUnicode()
375 ((word >= 0x31F0) && (word <= 0x31FF)) || in CharSetFromUnicode()
376 ((word >= 0xFF00) && (word <= 0xFFEF))) { in CharSetFromUnicode()
380 if (((word >= 0xAC00) && (word <= 0xD7AF)) || in CharSetFromUnicode()
381 ((word >= 0x1100) && (word <= 0x11FF)) || in CharSetFromUnicode()
382 ((word >= 0x3130) && (word <= 0x318F))) { in CharSetFromUnicode()
386 if (word >= 0x0E00 && word <= 0x0E7F) in CharSetFromUnicode()
389 if ((word >= 0x0370 && word <= 0x03FF) || (word >= 0x1F00 && word <= 0x1FFF)) in CharSetFromUnicode()
392 if ((word >= 0x0600 && word <= 0x06FF) || (word >= 0xFB50 && word <= 0xFEFC)) in CharSetFromUnicode()
395 if (word >= 0x0590 && word <= 0x05FF) in CharSetFromUnicode()
398 if (word >= 0x0400 && word <= 0x04FF) in CharSetFromUnicode()
401 if (word >= 0x0100 && word <= 0x024F) in CharSetFromUnicode()
404 if (word >= 0x1E00 && word <= 0x1EFF) in CharSetFromUnicode()