Lines Matching defs:character
65 static bool currentFontContainsCharacter(IMLangFontLinkType* langFontLink, HDC hdc, HFONT hfont, UChar character, const wchar_t* faceName)
80 if (i->wcTo >= character)
81 return i->wcFrom <= character;
88 result = langFontLink->GetCharCodePages(character, &charCodePages);
100 static HFONT createMLangFont(IMLangFontLinkType* langFontLink, HDC hdc, const FontPlatformData& refFont, DWORD codePageMask, UChar character = 0)
105 HRESULT result = langFontLink->MapFont(hdc, codePageMask, character, &mlangFont);
117 // The default order in which we look for a font for a CJK character. If the user's default code page is
209 UChar character = characters[0];
218 langFontLink->GetCharCodePages(character, &codePages);
219 if (codePages && u_getIntPropertyValue(character, UCHAR_UNIFIED_IDEOGRAPH)) {
220 // The CJK character may belong to multiple code pages. We want to
235 // returned by MLang, so the font might not contain the character.
236 if (!currentFontContainsCharacter(langFontLink, g_screenDC, hfont, character, name))
247 hfont = createMLangFont(langFontLink, g_screenDC, origFont, codePages, character);