Home
last modified time | relevance | path

Searched refs:hFont (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/core/fxge/android/
Dcfx_androidfontinfo.cpp57 uint32_t CFX_AndroidFontInfo::GetFontData(void* hFont, in GetFontData() argument
61 if (!hFont) in GetFontData()
63 return static_cast<CFPF_SkiaFont*>(hFont)->GetFontData(table, buffer, size); in GetFontData()
66 bool CFX_AndroidFontInfo::GetFaceName(void* hFont, CFX_ByteString& name) { in GetFaceName() argument
67 if (!hFont) in GetFaceName()
70 name = static_cast<CFPF_SkiaFont*>(hFont)->GetFamilyName(); in GetFaceName()
74 bool CFX_AndroidFontInfo::GetFontCharset(void* hFont, int& charset) { in GetFontCharset() argument
75 if (!hFont) in GetFontCharset()
78 charset = static_cast<CFPF_SkiaFont*>(hFont)->GetCharset(); in GetFontCharset()
82 void CFX_AndroidFontInfo::DeleteFont(void* hFont) { in DeleteFont() argument
[all …]
Dcfx_androidfontinfo.h33 uint32_t GetFontData(void* hFont,
37 bool GetFaceName(void* hFont, CFX_ByteString& name) override;
38 bool GetFontCharset(void* hFont, int& charset) override;
39 void DeleteFont(void* hFont) override;
/external/pdfium/fpdfsdk/
Dfpdf_sysfontinfo.cpp52 uint32_t GetFontData(void* hFont, in GetFontData() argument
58 return m_pInfo->GetFontData(m_pInfo, hFont, table, buffer, size); in GetFontData()
61 bool GetFaceName(void* hFont, CFX_ByteString& name) override { in GetFaceName() argument
64 uint32_t size = m_pInfo->GetFaceName(m_pInfo, hFont, nullptr, 0); in GetFaceName()
68 size = m_pInfo->GetFaceName(m_pInfo, hFont, buffer, size); in GetFaceName()
74 bool GetFontCharset(void* hFont, int& charset) override { in GetFontCharset() argument
78 charset = m_pInfo->GetFontCharset(m_pInfo, hFont); in GetFontCharset()
82 void DeleteFont(void* hFont) override { in DeleteFont() argument
84 m_pInfo->DeleteFont(m_pInfo, hFont); in DeleteFont()
144 void* hFont, in DefaultGetFontData() argument
[all …]
/external/pdfium/core/fxge/ge/
Dcfx_fontmapper.cpp306 CFX_ByteString CFX_FontMapper::GetPSNameFromTT(void* hFont) { in GetPSNameFromTT() argument
310 uint32_t size = m_pFontInfo->GetFontData(hFont, kTableNAME, nullptr, 0); in GetPSNameFromTT()
317 m_pFontInfo->GetFontData(hFont, kTableNAME, buffer_ptr, size); in GetPSNameFromTT()
340 void* hFont = m_pFontInfo->GetFont(name.c_str()); in AddInstalledFont() local
341 if (!hFont) { in AddInstalledFont()
343 hFont = m_pFontInfo->MapFont(0, 0, FXFONT_DEFAULT_CHARSET, 0, in AddInstalledFont()
345 if (!hFont) in AddInstalledFont()
349 CFX_ByteString new_name = GetPSNameFromTT(hFont); in AddInstalledFont()
352 m_pFontInfo->DeleteFont(hFont); in AddInstalledFont()
628 void* hFont = m_pFontInfo->MapFont(weight, bItalic, Charset, PitchFamily, in FindSubstFont() local
[all …]
Dcfx_folderfontinfo.h39 uint32_t GetFontData(void* hFont,
43 void DeleteFont(void* hFont) override;
44 bool GetFaceName(void* hFont, CFX_ByteString& name) override;
45 bool GetFontCharset(void* hFont, int& charset) override;
Dcfx_folderfontinfo.cpp328 uint32_t CFX_FolderFontInfo::GetFontData(void* hFont, in GetFontData() argument
332 if (!hFont) in GetFontData()
335 const CFX_FontFaceInfo* pFont = static_cast<CFX_FontFaceInfo*>(hFont); in GetFontData()
368 void CFX_FolderFontInfo::DeleteFont(void* hFont) {} in DeleteFont() argument
369 bool CFX_FolderFontInfo::GetFaceName(void* hFont, CFX_ByteString& name) { in GetFaceName() argument
370 if (!hFont) in GetFaceName()
372 CFX_FontFaceInfo* pFont = (CFX_FontFaceInfo*)hFont; in GetFaceName()
377 bool CFX_FolderFontInfo::GetFontCharset(void* hFont, int& charset) { in GetFontCharset() argument
Dfx_ge_fontmap.cpp63 int IFX_SystemFontInfo::GetFaceIndex(void* hFont) { in GetFaceIndex() argument
/external/pdfium/core/fxge/
Difx_systemfontinfo.h41 virtual uint32_t GetFontData(void* hFont,
45 virtual bool GetFaceName(void* hFont, CFX_ByteString& name) = 0;
46 virtual bool GetFontCharset(void* hFont, int& charset) = 0;
47 virtual int GetFaceIndex(void* hFont);
48 virtual void DeleteFont(void* hFont) = 0;
Dcfx_fontmapper.h55 CFX_ByteString GetPSNameFromTT(void* hFont);
62 FXFT_Face GetCachedTTCFace(void* hFont,
66 FXFT_Face GetCachedFace(void* hFont,
/external/pdfium/public/
Dfpdf_sysfontinfo.h169 void* hFont,
193 void* hFont,
210 int (*GetFontCharset)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
225 void (*DeleteFont)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
/external/pdfium/core/fxge/win32/
Dfx_win32_device.cpp345 uint32_t GetFontData(void* hFont,
349 bool GetFaceName(void* hFont, CFX_ByteString& name) override;
350 bool GetFontCharset(void* hFont, int& charset) override;
351 void DeleteFont(void* hFont) override;
384 HFONT hFont = CreateFontIndirectA(plf); in IsOpenTypeFromDiv() local
386 uint32_t font_size = GetFontData(hFont, 0, nullptr, 0); in IsOpenTypeFromDiv()
389 GetFontData(hFont, 0, (uint8_t*)(&lVersion), sizeof(uint32_t)); in IsOpenTypeFromDiv()
400 DeleteFont(hFont); in IsOpenTypeFromDiv()
405 HFONT hFont = CreateFontIndirectA(plf); in IsSupportFontFormDiv() local
407 uint32_t font_size = GetFontData(hFont, 0, nullptr, 0); in IsSupportFontFormDiv()
[all …]
Dfx_win32_print.cpp27 ScopedState(HDC hDC, HFONT hFont) : m_hDC(hDC) { in ScopedState() argument
29 m_hFont = SelectObject(m_hDC, hFont); in ScopedState()
33 HGDIOBJ hFont = SelectObject(m_hDC, m_hFont); in ~ScopedState() local
34 DeleteObject(hFont); in ~ScopedState()
238 HFONT hFont = CreateFontIndirect(&lf); in DrawDeviceText() local
239 if (!hFont) in DrawDeviceText()
242 ScopedState state(m_hDC, hFont); in DrawDeviceText()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp975 HGDIOBJ hFont = CreateFontIndirectA(pLogFont); in AddWindowsFont() local
977 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
980 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
981 DeleteObject(hFont); in AddWindowsFont()
1049 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
1050 DeleteObject(hFont); in AddWindowsFont()
/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.cpp841 void* hFont = in CreateFontStream() local
844 if (!hFont) in CreateFontStream()
847 uint32_t dwFileSize = pSystemFontInfo->GetFontData(hFont, 0, nullptr, 0); in CreateFontStream()
852 dwFileSize = pSystemFontInfo->GetFontData(hFont, 0, pBuffer, dwFileSize); in CreateFontStream()
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c1109 HFONT hFont; in WindowProc() local
1116 hFont = CreateFont(h, 0, 0, 0, 700, TRUE, in WindowProc()
1118 hFont = SelectObject(hdc, hFont); in WindowProc()
1123 DeleteObject(SelectObject(hdc, hFont)); in WindowProc()