Home | History | Annotate | Download | only in fpdfdoc

Lines Matching defs:csFontName

418 CPDF_Font* CPDF_InterForm::AddSystemFont(const CPDF_Document* pDocument, CFX_ByteString csFontName, FX_BYTE iCharSet)
420 if (pDocument == NULL || csFontName.IsEmpty()) {
427 HFONT hFont = ::CreateFontA(0, 0, 0, 0, 0, 0, 0, 0, iCharSet, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, csFontName.c_str());
440 CPDF_Font* CPDF_InterForm::AddSystemFont(const CPDF_Document* pDocument, CFX_WideString csFontName, FX_BYTE iCharSet)
442 if (pDocument == NULL || csFontName.IsEmpty()) {
449 HFONT hFont = ::CreateFontW(0, 0, 0, 0, 0, 0, 0, 0, iCharSet, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, csFontName.c_str());
462 CPDF_Font* CPDF_InterForm::AddStandardFont(const CPDF_Document* pDocument, CFX_ByteString csFontName)
464 if (pDocument == NULL || csFontName.IsEmpty()) {
468 if (csFontName == "ZapfDingbats") {
469 pFont = ((CPDF_Document*)pDocument)->AddStandardFont(csFontName, NULL);
472 pFont = ((CPDF_Document*)pDocument)->AddStandardFont(csFontName, &encoding);
478 CFX_ByteString csFontName;
483 csFontName = "Helvetica";
484 return csFontName;
507 csFontName = lf.lfFaceName;
508 return csFontName;
511 return csFontName;
590 CFX_ByteString csFontName = GetNativeFont(charSet, &lf);
591 if (!csFontName.IsEmpty()) {
592 if (csFontName == "Helvetica") {
593 pFont = AddStandardFont(pDocument, csFontName);
1082 csFontName, CFX_ByteString& csNameTag)
1084 return GetInterFormFont(m_pFormDict, m_pDocument, csFontName, csNameTag);
1098 FX_BOOL CPDF_InterForm::FindFormFont(CFX_ByteString csFontName, CPDF_Font*& pFont, CFX_ByteString& csNameTag)
1100 return FindInterFormFont(m_pFormDict, m_pDocument, csFontName, pFont, csNameTag);