Lines Matching refs:nNameValue
397 int nNameValue = (eFontNameLanguage==eUILangCode) ? 0 : ((eFontNameLanguage==0) ? -10 : -20); in GetDevFontAttributes() local
402 case 0x000: nNameValue += 23; break; // Unicode 1.0 in GetDevFontAttributes()
403 case 0x001: nNameValue += 24; break; // Unicode 1.1 in GetDevFontAttributes()
404 case 0x002: nNameValue += 25; break; // iso10646_1993 in GetDevFontAttributes()
405 case 0x003: nNameValue += 26; break; // UCS-2 in GetDevFontAttributes()
406 case 0x301: nNameValue += 27; break; // Win UCS-2 in GetDevFontAttributes()
408 case 0x30A: nNameValue += 0; // Win-UCS-4 in GetDevFontAttributes()
411 case 0x100: nNameValue += 21; // Mac Roman in GetDevFontAttributes()
414 case 0x300: nNameValue = 0; // Win Symbol encoded name! in GetDevFontAttributes()
417 default: nNameValue = 0; // ignore other encodings in GetDevFontAttributes()
422 if( nNameValue <= 0 ) in GetDevFontAttributes()
453 nNameValue = 0; in GetDevFontAttributes()
460 rDFA.maMapNames += (nBestNameValue < nNameValue) ? rDFA.maName : aUtf16Name; in GetDevFontAttributes()
462 if( nBestNameValue < nNameValue ) in GetDevFontAttributes()
465 nBestNameValue = nNameValue; in GetDevFontAttributes()
472 if( nBestStyleValue < nNameValue ) in GetDevFontAttributes()
474 nBestStyleValue = nNameValue; in GetDevFontAttributes()