Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/android/
Dfx_android_font.cpp52 FX_DWORD CFX_AndroidFontInfo::GetFontData(void* hFont, in GetFontData() argument
56 if (!hFont) { in GetFontData()
59 return ((IFPF_Font*)hFont)->GetFontData(table, buffer, size); in GetFontData()
61 FX_BOOL CFX_AndroidFontInfo::GetFaceName(void* hFont, CFX_ByteString& name) { in GetFaceName() argument
62 if (!hFont) { in GetFaceName()
65 name = ((IFPF_Font*)hFont)->GetFamilyName(); in GetFaceName()
68 FX_BOOL CFX_AndroidFontInfo::GetFontCharset(void* hFont, int& charset) { in GetFontCharset() argument
69 if (!hFont) { in GetFontCharset()
72 charset = ((IFPF_Font*)hFont)->GetCharset(); in GetFontCharset()
75 void CFX_AndroidFontInfo::DeleteFont(void* hFont) { in DeleteFont() argument
[all …]
Dfx_android_font.h27 virtual FX_DWORD GetFontData(void* hFont,
31 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name);
32 virtual FX_BOOL GetFontCharset(void* hFont, int& charset);
34 virtual void DeleteFont(void* hFont);
35 virtual void* RetainFont(void* hFont);
/external/pdfium/fpdfsdk/src/
Dfpdf_sysfontinfo.cpp48 FX_DWORD GetFontData(void* hFont, in GetFontData() argument
53 return m_pInfo->GetFontData(m_pInfo, hFont, table, buffer, size); in GetFontData()
57 FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) override { in GetFaceName() argument
60 FX_DWORD size = m_pInfo->GetFaceName(m_pInfo, hFont, NULL, 0); in GetFaceName()
64 size = m_pInfo->GetFaceName(m_pInfo, hFont, buffer, size); in GetFaceName()
70 FX_BOOL GetFontCharset(void* hFont, int& charset) override { in GetFontCharset() argument
72 charset = m_pInfo->GetFontCharset(m_pInfo, hFont); in GetFontCharset()
78 void DeleteFont(void* hFont) override { in DeleteFont() argument
80 m_pInfo->DeleteFont(m_pInfo, hFont); in DeleteFont()
137 void* hFont, in DefaultGetFontData() argument
[all …]
/external/pdfium/core/src/fxge/ge/
Dfx_ge_fontmap.cpp706 CFX_ByteString CFX_FontMapper::GetPSNameFromTT(void* hFont) { in GetPSNameFromTT() argument
710 FX_DWORD size = m_pFontInfo->GetFontData(hFont, kTableNAME, nullptr, 0); in GetPSNameFromTT()
717 m_pFontInfo->GetFontData(hFont, kTableNAME, buffer_ptr, size); in GetPSNameFromTT()
740 void* hFont = m_pFontInfo->GetFont(name); in AddInstalledFont() local
741 if (!hFont) { in AddInstalledFont()
743 hFont = in AddInstalledFont()
745 if (!hFont) { in AddInstalledFont()
749 CFX_ByteString new_name = GetPSNameFromTT(hFont); in AddInstalledFont()
754 m_pFontInfo->DeleteFont(hFont); in AddInstalledFont()
1084 void* hFont = m_pFontInfo->MapFont(weight, bItalic, Charset, PitchFamily, in FindSubstFont() local
[all …]
/external/pdfium/public/
Dfpdf_sysfontinfo.h168 void* hFont,
192 void* hFont,
209 int (*GetFontCharset)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
224 void (*DeleteFont)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
/external/pdfium/core/include/fxge/
Dfx_font.h333 CFX_ByteString GetPSNameFromTT(void* hFont);
373 virtual FX_DWORD GetFontData(void* hFont,
377 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) = 0;
378 virtual FX_BOOL GetFontCharset(void* hFont, int& charset) = 0;
379 virtual int GetFaceIndex(void* hFont) { return 0; } in GetFaceIndex() argument
380 virtual void DeleteFont(void* hFont) = 0;
381 virtual void* RetainFont(void* hFont) { return NULL; } in RetainFont() argument
409 FX_DWORD GetFontData(void* hFont,
413 void DeleteFont(void* hFont) override;
414 FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) override;
[all …]
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp45 FX_DWORD GetFontData(void* hFont,
49 FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) override;
50 FX_BOOL GetFontCharset(void* hFont, int& charset) override;
51 void DeleteFont(void* hFont) override;
81 HFONT hFont = CreateFontIndirectA(plf); in IsOpenTypeFromDiv() local
83 FX_DWORD font_size = GetFontData(hFont, 0, NULL, 0); in IsOpenTypeFromDiv()
86 GetFontData(hFont, 0, (uint8_t*)(&lVersion), sizeof(FX_DWORD)); in IsOpenTypeFromDiv()
97 DeleteFont(hFont); in IsOpenTypeFromDiv()
101 HFONT hFont = CreateFontIndirectA(plf); in IsSupportFontFormDiv() local
103 FX_DWORD font_size = GetFontData(hFont, 0, NULL, 0); in IsSupportFontFormDiv()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp240 HGDIOBJ hFont = CreateFontIndirectA(pLogFont); in AddWindowsFont() local
242 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
245 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
246 DeleteObject(hFont); in AddWindowsFont()
423 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
424 DeleteObject(hFont); in AddWindowsFont()
/external/opencv3/samples/directx/
Dd3d9ex_interop.cpp249 HFONT hFont = (HFONT)::GetStockObject(SYSTEM_FONT); in print_info() local
251 HFONT hOldFont = (HFONT)::SelectObject(hDC, hFont); in print_info()
Dd3d9_interop.cpp248 HFONT hFont = (HFONT)::GetStockObject(SYSTEM_FONT); in print_info() local
250 HFONT hOldFont = (HFONT)::SelectObject(hDC, hFont); in print_info()
/external/pdfium/core/src/fpdfdoc/
Ddoc_form.cpp368 HFONT hFont = (HFONT)::GetStockObject(iFontObject); in RetrieveStockFont() local
369 if (hFont != NULL) { in RetrieveStockFont()
371 int iRet = ::GetObject(hFont, sizeof(LOGFONTA), &lf); in RetrieveStockFont()