Lines Matching refs:nCharset

91                                        int32_t nCharset,
98 if (nCharset == DEFAULT_CHARSET || pData->nCharset == SYMBOL_CHARSET ||
99 nCharset == pData->nCharset) {
107 GetFontIndex(GetNativeFontName(nCharset), nCharset, TRUE);
135 CFX_ByteString CPWL_FontMap::GetNativeFontName(int32_t nCharset) {
139 if (pData->nCharset == nCharset)
144 CFX_ByteString sNew = GetNativeFont(nCharset);
148 pNewData->nCharset = nCharset;
186 int32_t nCharset) {
189 if (nCharset == DEFAULT_CHARSET || nCharset == pData->nCharset) {
200 int32_t nCharset,
202 int32_t nFontIndex = FindFont(EncodeFontAlias(sFontName, nCharset), nCharset);
209 pFont = FindFontSameCharset(sAlias, nCharset);
213 pFont = AddFontToDocument(GetDocument(), sTemp, nCharset);
214 sAlias = EncodeFontAlias(sTemp, nCharset);
217 return AddFontData(pFont, sAlias, nCharset);
220 int32_t CPWL_FontMap::GetPWLFontIndex(FX_WORD word, int32_t nCharset) {
225 if (pData->nCharset == nCharset) {
237 CFX_ByteString sAlias = EncodeFontAlias("Arial_Chrome", nCharset);
240 return AddFontData(pNewFont, sAlias, nCharset);
244 int32_t nCharset) {
250 int32_t nCharset) {
254 pNewData->nCharset = nCharset;
274 CFX_ByteString CPWL_FontMap::GetNativeFont(int32_t nCharset) {
275 if (nCharset == DEFAULT_CHARSET)
276 nCharset = GetNativeCharset();
278 CFX_ByteString sFontName = GetDefaultFontByCharset(nCharset);
280 if (m_pSystemHandler->FindNativeTrueTypeFont(nCharset, sFontName))
283 sFontName = m_pSystemHandler->GetNativeTrueTypeFont(nCharset);
290 uint8_t nCharset) {
294 return AddSystemFont(pDoc, sFontName, nCharset);
316 uint8_t nCharset) {
321 sFontName = GetNativeFont(nCharset);
322 if (nCharset == DEFAULT_CHARSET)
323 nCharset = GetNativeCharset();
327 nCharset);
333 int32_t nCharset) {
335 sPostfix.Format("_%02X", nCharset);
358 uint8_t nCharset = ANSI_CHARSET;
362 nCharset = SHIFTJIS_CHARSET;
365 nCharset = GB2312_CHARSET;
368 nCharset = GB2312_CHARSET;
371 nCharset = ANSI_CHARSET;
374 nCharset = THAI_CHARSET;
377 nCharset = HANGUL_CHARSET;
380 nCharset = ANSI_CHARSET;
383 nCharset = EASTEUROPE_CHARSET;
386 nCharset = RUSSIAN_CHARSET;
389 nCharset = GREEK_CHARSET;
392 nCharset = TURKISH_CHARSET;
395 nCharset = HEBREW_CHARSET;
398 nCharset = ARABIC_CHARSET;
401 nCharset = BALTIC_CHARSET;
404 nCharset = VIETNAMESE_CHARSET;
407 nCharset = JOHAB_CHARSET;
410 return nCharset;
425 CFX_ByteString CPWL_FontMap::GetDefaultFontByCharset(int32_t nCharset) {
428 if (nCharset == defaultTTFMap[i].charset)