Home
last modified time | relevance | path

Searched refs:wCodePage (Results 1 – 18 of 18) sorted by relevance

/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.cpp69 if (pParams->wCodePage != 0xFFFF) { in MatchDefaultFont()
70 if (FX_GetCodePageFromCharset(font.uCharSet) != pParams->wCodePage) in MatchDefaultFont()
114 uint16_t wCodePage, in GetFontByCodePage() argument
117 uint32_t dwHash = FGAS_GetFontHashCode(wCodePage, dwFontStyles); in GetFontByCodePage()
120 return it->second ? LoadFont(it->second, dwFontStyles, wCodePage) : nullptr; in GetFontByCodePage()
123 FindFont(pszFontFamily, dwFontStyles, true, wCodePage); in GetFontByCodePage()
125 pFD = FindFont(nullptr, dwFontStyles, true, wCodePage); in GetFontByCodePage()
127 pFD = FindFont(nullptr, dwFontStyles, false, wCodePage); in GetFontByCodePage()
132 CFGAS_GEFont::LoadFont(pFD->wsFontFace, dwFontStyles, wCodePage, this); in GetFontByCodePage()
138 dwHash = FGAS_GetFontFamilyHash(pFD->wsFontFace, dwFontStyles, wCodePage); in GetFontByCodePage()
[all …]
Dcfgas_fontmgr.h52 uint16_t wCodePage; member
95 CFX_RetainPtr<CFGAS_GEFont> GetFontByCodePage(uint16_t wCodePage,
103 uint16_t wCodePage);
110 uint16_t wCodePage);
116 uint16_t wCodePage,
195 CFX_RetainPtr<CFGAS_GEFont> GetFontByCodePage(uint16_t wCodePage,
203 uint16_t wCodePage);
222 uint16_t wCodePage,
227 uint16_t wCodePage,
Dfgas_fontutils.cpp12 uint32_t FGAS_GetFontHashCode(uint16_t wCodePage, uint32_t dwFontStyles) { in FGAS_GetFontHashCode() argument
13 uint32_t dwHash = wCodePage; in FGAS_GetFontHashCode()
36 uint16_t wCodePage) { in FGAS_GetFontFamilyHash() argument
44 wsFont += wCodePage; in FGAS_GetFontFamilyHash()
Dfgas_fontutils.h16 uint16_t wCodePage; member
19 uint32_t FGAS_GetFontHashCode(uint16_t wCodePage, uint32_t dwFontStyles);
22 uint16_t wCodePage);
Dcfgas_gefont.cpp24 uint16_t wCodePage, in LoadFont() argument
30 return pFontMgr->GetFontByCodePage(wCodePage, dwFontStyles, pszFontFamily); in LoadFont()
33 if (!pFont->LoadFontInternal(pszFontFamily, dwFontStyles, wCodePage)) in LoadFont()
128 uint16_t wCodePage) { in LoadFontInternal() argument
158 m_pFont->LoadSubst(csFontFamily, true, dwFlags, iWeight, 0, wCodePage, false); in LoadFontInternal()
227 uint16_t wCodePage) { in Derive() argument
Dcfgas_gefont.h34 uint16_t wCodePage,
52 uint16_t wCodePage = 0);
78 uint16_t wCodePage);
/external/pdfium/xfa/fxfa/
Dxfa_fontmgr.h27 uint16_t wCodePage; member
38 uint16_t wCodePage = 0xFFFF);
43 uint16_t wCodePage = 0xFFFF);
92 uint16_t wCodePage = 0xFFFF);
/external/pdfium/xfa/fwl/theme/
Dcfwl_widgettp.cpp275 uint16_t wCodePage) { in Equal() argument
277 m_dwCodePage == wCodePage; in Equal()
318 uint16_t wCodePage) { in FindFont() argument
320 if (pData->Equal(wsFontFamily, dwFontStyles, wCodePage)) in FindFont()
324 if (!pFontData->LoadFont(wsFontFamily, dwFontStyles, wCodePage)) in FindFont()
Dcfwl_widgettp.h111 uint16_t wCodePage);
114 uint16_t wCodePage);
/external/pdfium/xfa/fxfa/app/
Dxfa_fontmgr.cpp1749 uint16_t wCodePage) { in GetFont() argument
1753 pFDEFontMgr->LoadFont(wsFontName.c_str(), dwFontStyles, wCodePage); in GetFont()
1775 pFont = pFDEFontMgr->LoadFont(wsReplace.c_str(), dwStyle, wCodePage); in GetFont()
1794 uint16_t wCodePage) { in GetDefaultFont() argument
1797 pFDEFontMgr->LoadFont(L"Arial Narrow", dwFontStyles, wCodePage); in GetDefaultFont()
1800 dwFontStyles, wCodePage); in GetDefaultFont()
2000 uint16_t wCodePage) { in GetFont() argument
2003 bsKey.Format("%u%u%u", dwHash, dwFontStyles, wCodePage); in GetFont()
2021 pFont = m_pDefFontMgr->GetFont(hDoc, wsFontFamily, dwFontStyles, wCodePage); in GetFont()
2032 wCodePage); in GetFont()
/external/pdfium/xfa/fde/xml/
Dfde_xml_imp.cpp403 uint16_t wCodePage = pXMLStream->GetCodePage(); in SaveXMLNode() local
404 if (wCodePage == FX_CODEPAGE_UTF16LE) { in SaveXMLNode()
406 } else if (wCodePage == FX_CODEPAGE_UTF16BE) { in SaveXMLNode()
973 uint16_t wCodePage = pXMLStream->GetCodePage(); in SaveXMLNode() local
974 if (wCodePage == FX_CODEPAGE_UTF16LE) { in SaveXMLNode()
976 } else if (wCodePage == FX_CODEPAGE_UTF16BE) { in SaveXMLNode()
1085 uint16_t wCodePage = pXMLStream->GetCodePage(); in SaveXML() local
1086 if (wCodePage != FX_CODEPAGE_UTF16LE && wCodePage != FX_CODEPAGE_UTF16BE && in SaveXML()
1087 wCodePage != FX_CODEPAGE_UTF8) { in SaveXML()
1088 wCodePage = FX_CODEPAGE_UTF8; in SaveXML()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_widetextread.h32 uint16_t SetCodePage(uint16_t wCodePage) override;
Dcxfa_widetextread.cpp89 uint16_t CXFA_WideTextRead::SetCodePage(uint16_t wCodePage) { in SetCodePage() argument
Dcxfa_simple_parser.cpp293 uint16_t wCodePage = m_pStream->GetCodePage(); in StartParse() local
294 if (wCodePage != FX_CODEPAGE_UTF16LE && wCodePage != FX_CODEPAGE_UTF16BE && in StartParse()
295 wCodePage != FX_CODEPAGE_UTF8) { in StartParse()
/external/pdfium/xfa/fgas/crt/
Dfgas_stream.h63 virtual uint16_t SetCodePage(uint16_t wCodePage) = 0;
Dfgas_codepage.h142 int32_t FX_DecodeString(uint16_t wCodePage,
Dfgas_codepage.cpp378 int32_t FX_DecodeString(uint16_t wCodePage, in FX_DecodeString() argument
384 if (wCodePage == FX_CODEPAGE_UTF8) { in FX_DecodeString()
Dfgas_stream.cpp224 uint16_t SetCodePage(uint16_t wCodePage) override;
262 uint16_t SetCodePage(uint16_t wCodePage) override;
1037 uint16_t CFGAS_TextStream::SetCodePage(uint16_t wCodePage) { in SetCodePage() argument
1042 m_wCodePage = wCodePage; in SetCodePage()
1413 uint16_t CFGAS_Stream::SetCodePage(uint16_t wCodePage) { in SetCodePage() argument