Lines Matching defs:charSet
376 static FX_BOOL RetrieveSpecificFont(FX_BYTE charSet, FX_BYTE pitchAndFamily, LPCSTR pcsFontName, LOGFONTA& lf)
379 lf.lfCharSet = charSet;
386 static FX_BOOL RetrieveStockFont(int iFontObject, FX_BYTE charSet, LOGFONTA& lf)
392 if (iRet > 0 && (lf.lfCharSet == charSet || charSet == 255)) {
476 CFX_ByteString CPDF_InterForm::GetNativeFont(FX_BYTE charSet, FX_LPVOID pLogFont)
482 if (charSet == ANSI_CHARSET) {
487 if (charSet == SHIFTJIS_CHARSET) {
488 bRet = RetrieveSpecificFont(charSet, DEFAULT_PITCH | FF_DONTCARE, "MS Mincho", lf);
489 } else if (charSet == GB2312_CHARSET) {
490 bRet = RetrieveSpecificFont(charSet, DEFAULT_PITCH | FF_DONTCARE, "SimSun", lf);
491 } else if (charSet == CHINESEBIG5_CHARSET) {
492 bRet = RetrieveSpecificFont(charSet, DEFAULT_PITCH | FF_DONTCARE, "MingLiU", lf);
495 bRet = RetrieveSpecificFont(charSet, DEFAULT_PITCH | FF_DONTCARE, "Arial Unicode MS", lf);
498 bRet = RetrieveSpecificFont(charSet, DEFAULT_PITCH | FF_DONTCARE, "Microsoft Sans Serif", lf);
501 bRet = RetrieveSpecificFont(charSet, DEFAULT_PITCH | FF_DONTCARE, NULL, lf);
516 FX_BYTE charSet = GetNativeCharSet();
517 return GetNativeFont(charSet, pLogFont);
525 FX_BYTE charSet = ANSI_CHARSET;
529 charSet = SHIFTJIS_CHARSET;
532 charSet = GB2312_CHARSET;
535 charSet = CHINESEBIG5_CHARSET;
538 charSet = ANSI_CHARSET;
541 charSet = THAI_CHARSET;
544 charSet = HANGUL_CHARSET;
547 charSet = ANSI_CHARSET;
550 charSet = EASTEUROPE_CHARSET;
553 charSet = RUSSIAN_CHARSET;
556 charSet = GREEK_CHARSET;
559 charSet = TURKISH_CHARSET;
562 charSet = HEBREW_CHARSET;
565 charSet = ARABIC_CHARSET;
568 charSet = BALTIC_CHARSET;
571 charSet = VIETNAMESE_CHARSET;
574 charSet = JOHAB_CHARSET;
577 return charSet;
582 CPDF_Font* CPDF_InterForm::AddNativeFont(FX_BYTE charSet, const CPDF_Document* pDocument)
590 CFX_ByteString csFontName = GetNativeFont(charSet, &lf);
607 FX_BYTE charSet = GetNativeCharSet();
608 pFont = AddNativeFont(charSet, pDocument);
1086 CPDF_Font* CPDF_InterForm::GetNativeFormFont(FX_BYTE charSet, CFX_ByteString& csNameTag)
1088 return GetNativeInterFormFont(m_pFormDict, m_pDocument, charSet, csNameTag);
1107 CPDF_Font* CPDF_InterForm::AddNativeFormFont(FX_BYTE charSet, CFX_ByteString& csNameTag)
1110 return AddNativeInterFormFont(m_pFormDict, m_pDocument, charSet, csNameTag);