Home
last modified time | relevance | path

Searched refs:dwFontStyles (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/xfa/fgas/font/
Dfgas_fontutils.cpp12 uint32_t FGAS_GetFontHashCode(uint16_t wCodePage, uint32_t dwFontStyles) { in FGAS_GetFontHashCode() argument
14 if (dwFontStyles & FX_FONTSTYLE_FixedPitch) { in FGAS_GetFontHashCode()
17 if (dwFontStyles & FX_FONTSTYLE_Serif) { in FGAS_GetFontHashCode()
20 if (dwFontStyles & FX_FONTSTYLE_Symbolic) { in FGAS_GetFontHashCode()
23 if (dwFontStyles & FX_FONTSTYLE_Script) { in FGAS_GetFontHashCode()
26 if (dwFontStyles & FX_FONTSTYLE_Italic) { in FGAS_GetFontHashCode()
29 if (dwFontStyles & FX_FONTSTYLE_Bold) { in FGAS_GetFontHashCode()
35 uint32_t dwFontStyles, in FGAS_GetFontFamilyHash() argument
38 if (dwFontStyles & FX_FONTSTYLE_Bold) { in FGAS_GetFontFamilyHash()
41 if (dwFontStyles & FX_FONTSTYLE_Italic) { in FGAS_GetFontFamilyHash()
Dcfgas_fontmgr.cpp29 uint32_t dwFontStyles) { in GetSimilarityScore() argument
31 if ((dwFontStyles & FX_FONTSTYLE_Symbolic) == in GetSimilarityScore()
32 (pFont->dwFontStyles & FX_FONTSTYLE_Symbolic)) { in GetSimilarityScore()
35 if ((dwFontStyles & FX_FONTSTYLE_FixedPitch) == in GetSimilarityScore()
36 (pFont->dwFontStyles & FX_FONTSTYLE_FixedPitch)) { in GetSimilarityScore()
39 if ((dwFontStyles & FX_FONTSTYLE_Serif) == in GetSimilarityScore()
40 (pFont->dwFontStyles & FX_FONTSTYLE_Serif)) { in GetSimilarityScore()
43 if ((dwFontStyles & FX_FONTSTYLE_Script) == in GetSimilarityScore()
44 (pFont->dwFontStyles & FX_FONTSTYLE_Script)) { in GetSimilarityScore()
57 if ((font.dwFontStyles & FX_FONTSTYLE_BoldItalic) == in MatchDefaultFont()
[all …]
Dcfgas_gefont.cpp23 uint32_t dwFontStyles, in LoadFont() argument
30 return pFontMgr->GetFontByCodePage(wCodePage, dwFontStyles, pszFontFamily); in LoadFont()
33 if (!pFont->LoadFontInternal(pszFontFamily, dwFontStyles, wCodePage)) in LoadFont()
94 uint32_t dwFontStyles) in CFGAS_GEFont() argument
114 (dwFontStyles & FX_FONTSTYLE_Bold) ? FXFONT_FW_BOLD : FXFONT_FW_NORMAL; in CFGAS_GEFont()
115 if (dwFontStyles & FX_FONTSTYLE_Italic) in CFGAS_GEFont()
127 uint32_t dwFontStyles, in LoadFontInternal() argument
135 if (dwFontStyles & FX_FONTSTYLE_FixedPitch) in LoadFontInternal()
137 if (dwFontStyles & FX_FONTSTYLE_Serif) in LoadFontInternal()
139 if (dwFontStyles & FX_FONTSTYLE_Symbolic) in LoadFontInternal()
[all …]
Dcfgas_fontmgr.h48 uint32_t dwFontStyles; member
69 uint32_t dwFontStyles; member
77 left.dwFontStyles == right.dwFontStyles &&
96 uint32_t dwFontStyles,
99 uint32_t dwFontStyles,
102 uint32_t dwFontStyles,
109 uint32_t dwFontStyles,
114 uint32_t dwFontStyles,
196 uint32_t dwFontStyles,
199 uint32_t dwFontStyles,
[all …]
Dcfgas_gefont.h33 uint32_t dwFontStyles,
51 CFX_RetainPtr<CFGAS_GEFont> Derive(uint32_t dwFontStyles,
72 CFGAS_GEFont(const CFX_RetainPtr<CFGAS_GEFont>& src, uint32_t dwFontStyles);
77 uint32_t dwFontStyles,
Dfgas_fontutils.h19 uint32_t FGAS_GetFontHashCode(uint16_t wCodePage, uint32_t dwFontStyles);
21 uint32_t dwFontStyles,
/external/pdfium/xfa/fxfa/
Dxfa_fontmgr.h37 uint32_t dwFontStyles,
42 uint32_t dwFontStyles,
55 uint32_t dwFontStyles,
91 uint32_t dwFontStyles,
/external/pdfium/xfa/fwl/theme/
Dcfwl_widgettp.cpp274 uint32_t dwFontStyles, in Equal() argument
276 return m_wsFamily == wsFontFamily && m_dwStyles == dwFontStyles && in Equal()
281 uint32_t dwFontStyles, in LoadFont() argument
284 m_dwStyles = dwFontStyles; in LoadFont()
294 m_pFont = CFGAS_GEFont::LoadFont(wsFontFamily.c_str(), dwFontStyles, in LoadFont()
317 uint32_t dwFontStyles, in FindFont() argument
320 if (pData->Equal(wsFontFamily, dwFontStyles, wCodePage)) in FindFont()
324 if (!pFontData->LoadFont(wsFontFamily, dwFontStyles, wCodePage)) in FindFont()
Dcfwl_widgettp.h110 uint32_t dwFontStyles,
113 uint32_t dwFontStyles,
134 uint32_t dwFontStyles,
/external/pdfium/xfa/fxfa/app/
Dxfa_fontmgr.cpp1748 uint32_t dwFontStyles, in GetFont() argument
1753 pFDEFontMgr->LoadFont(wsFontName.c_str(), dwFontStyles, wCodePage); in GetFont()
1759 if (dwFontStyles & FX_FONTSTYLE_Bold) { in GetFont()
1762 if (dwFontStyles & FX_FONTSTYLE_Italic) { in GetFont()
1793 uint32_t dwFontStyles, in GetDefaultFont() argument
1797 pFDEFontMgr->LoadFont(L"Arial Narrow", dwFontStyles, wCodePage); in GetDefaultFont()
1800 dwFontStyles, wCodePage); in GetDefaultFont()
1859 uint32_t dwFontStyles, in GetFont() argument
1864 strKey.Format("%u%u", dwHashCode, dwFontStyles); in GetFont()
1870 bool bBold = (dwFontStyles & FX_FONTSTYLE_Bold) == FX_FONTSTYLE_Bold; in GetFont()
[all …]