Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/android/
Dcfx_androidfontinfo.cpp56 uint32_t CFX_AndroidFontInfo::GetFontData(void* hFont, in GetFontData() argument
60 if (!hFont) in GetFontData()
62 return static_cast<CFPF_SkiaFont*>(hFont)->GetFontData(table, buffer, size); in GetFontData()
65 bool CFX_AndroidFontInfo::GetFaceName(void* hFont, ByteString* name) { in GetFaceName() argument
66 if (!hFont) in GetFaceName()
69 *name = static_cast<CFPF_SkiaFont*>(hFont)->GetFamilyName(); in GetFaceName()
73 bool CFX_AndroidFontInfo::GetFontCharset(void* hFont, int* charset) { in GetFontCharset() argument
74 if (!hFont) in GetFontCharset()
77 *charset = static_cast<CFPF_SkiaFont*>(hFont)->GetCharset(); in GetFontCharset()
81 void CFX_AndroidFontInfo::DeleteFont(void* hFont) { in DeleteFont() argument
[all …]
Dcfx_androidfontinfo.h32 uint32_t GetFontData(void* hFont,
36 bool GetFaceName(void* hFont, ByteString* name) override;
37 bool GetFontCharset(void* hFont, int* charset) override;
38 void DeleteFont(void* hFont) override;
/external/pdfium/fpdfsdk/
Dfpdf_sysfontinfo.cpp69 uint32_t GetFontData(void* hFont, in GetFontData() argument
75 return m_pInfo->GetFontData(m_pInfo, hFont, table, buffer, size); in GetFontData()
78 bool GetFaceName(void* hFont, ByteString* name) override { in GetFaceName() argument
81 uint32_t size = m_pInfo->GetFaceName(m_pInfo, hFont, nullptr, 0); in GetFaceName()
85 size = m_pInfo->GetFaceName(m_pInfo, hFont, buffer, size); in GetFaceName()
91 bool GetFontCharset(void* hFont, int* charset) override { in GetFontCharset() argument
95 *charset = m_pInfo->GetFontCharset(m_pInfo, hFont); in GetFontCharset()
99 void DeleteFont(void* hFont) override { in DeleteFont() argument
101 m_pInfo->DeleteFont(m_pInfo, hFont); in DeleteFont()
160 void* hFont, in DefaultGetFontData() argument
[all …]
/external/pdfium/core/fxge/
Dcfx_fontmapper.cpp297 ByteString CFX_FontMapper::GetPSNameFromTT(void* hFont) { in GetPSNameFromTT() argument
301 uint32_t size = m_pFontInfo->GetFontData(hFont, kTableNAME, nullptr, 0); in GetPSNameFromTT()
308 m_pFontInfo->GetFontData(hFont, kTableNAME, buffer_ptr, size); in GetPSNameFromTT()
326 void* hFont = m_pFontInfo->GetFont(name.c_str()); in AddInstalledFont() local
327 if (!hFont) { in AddInstalledFont()
328 hFont = m_pFontInfo->MapFont(0, 0, FX_CHARSET_Default, 0, name.c_str()); in AddInstalledFont()
329 if (!hFont) in AddInstalledFont()
333 ByteString new_name = GetPSNameFromTT(hFont); in AddInstalledFont()
336 m_pFontInfo->DeleteFont(hFont); in AddInstalledFont()
610 void* hFont = m_pFontInfo->MapFont(weight, bItalic, Charset, PitchFamily, in FindSubstFont() local
[all …]
Difx_systemfontinfo.h39 virtual uint32_t GetFontData(void* hFont,
43 virtual bool GetFaceName(void* hFont, ByteString* name) = 0;
44 virtual bool GetFontCharset(void* hFont, int* charset) = 0;
45 virtual int GetFaceIndex(void* hFont);
46 virtual void DeleteFont(void* hFont) = 0;
Dcfx_folderfontinfo.h39 uint32_t GetFontData(void* hFont,
43 void DeleteFont(void* hFont) override;
44 bool GetFaceName(void* hFont, ByteString* name) override;
45 bool GetFontCharset(void* hFont, int* charset) override;
Dcfx_folderfontinfo.cpp334 uint32_t CFX_FolderFontInfo::GetFontData(void* hFont, in GetFontData() argument
338 if (!hFont) in GetFontData()
341 const FontFaceInfo* pFont = static_cast<FontFaceInfo*>(hFont); in GetFontData()
374 void CFX_FolderFontInfo::DeleteFont(void* hFont) {} in DeleteFont() argument
376 bool CFX_FolderFontInfo::GetFaceName(void* hFont, ByteString* name) { in GetFaceName() argument
377 if (!hFont) in GetFaceName()
379 *name = static_cast<FontFaceInfo*>(hFont)->m_FaceName; in GetFaceName()
383 bool CFX_FolderFontInfo::GetFontCharset(void* hFont, int* charset) { in GetFontCharset() argument
Dcfx_fontmapper.h54 ByteString GetPSNameFromTT(void* hFont);
61 FXFT_Face GetCachedTTCFace(void* hFont,
65 FXFT_Face GetCachedFace(void* hFont,
Dfx_ge_fontmap.cpp63 int IFX_SystemFontInfo::GetFaceIndex(void* hFont) { in GetFaceIndex() argument
/external/pdfium/public/
Dfpdf_sysfontinfo.h166 void* hFont,
190 void* hFont,
207 int (*GetFontCharset)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
222 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, ByteString* name) override;
350 bool GetFontCharset(void* hFont, int* charset) override;
351 void DeleteFont(void* hFont) override;
382 HFONT hFont = CreateFontIndirectA(plf); in IsOpenTypeFromDiv() local
384 uint32_t font_size = GetFontData(hFont, 0, nullptr, 0); in IsOpenTypeFromDiv()
387 GetFontData(hFont, 0, (uint8_t*)(&lVersion), sizeof(uint32_t)); in IsOpenTypeFromDiv()
398 DeleteFont(hFont); in IsOpenTypeFromDiv()
403 HFONT hFont = CreateFontIndirectA(plf); in IsSupportFontFormDiv() local
405 uint32_t font_size = GetFontData(hFont, 0, nullptr, 0); in IsSupportFontFormDiv()
[all …]
Dfx_win32_print.cpp29 ScopedState(HDC hDC, HFONT hFont) : m_hDC(hDC) { in ScopedState() argument
31 m_hFont = SelectObject(m_hDC, hFont); in ScopedState()
35 HGDIOBJ hFont = SelectObject(m_hDC, m_hFont); in ~ScopedState() local
36 DeleteObject(hFont); in ~ScopedState()
240 HFONT hFont = CreateFontIndirect(&lf); in DrawDeviceText() local
241 if (!hFont) in DrawDeviceText()
244 ScopedState state(m_hDC, hFont); in DrawDeviceText()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp976 HGDIOBJ hFont = CreateFontIndirectA(pLogFont); in AddWindowsFont() local
978 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
981 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
982 DeleteObject(hFont); in AddWindowsFont()
1050 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
1051 DeleteObject(hFont); in AddWindowsFont()
/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.cpp675 void* hFont = pSystemFontInfo->MapFont( in CreateFontStream() local
677 if (!hFont) in CreateFontStream()
680 uint32_t dwFileSize = pSystemFontInfo->GetFontData(hFont, 0, nullptr, 0); in CreateFontStream()
685 dwFileSize = pSystemFontInfo->GetFontData(hFont, 0, pBuffer, dwFileSize); in CreateFontStream()
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c1153 HFONT hFont; in WindowProc() local
1160 hFont = CreateFont(h, 0, 0, 0, 700, TRUE, in WindowProc()
1162 hFont = SelectObject(hdc, hFont); in WindowProc()
1167 DeleteObject(SelectObject(hdc, hFont)); in WindowProc()
/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()