Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/android/
Dfx_android_font.cpp53 FX_DWORD CFX_AndroidFontInfo::GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD s… in GetFontData() argument
55 if (!hFont) { in GetFontData()
58 return ((IFPF_Font*)hFont)->GetFontData(table, buffer, size); in GetFontData()
60 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
70 if (!hFont) { in GetFontCharset()
73 charset = ((IFPF_Font*)hFont)->GetCharset(); in GetFontCharset()
76 void CFX_AndroidFontInfo::DeleteFont(void* hFont) in DeleteFont() argument
[all …]
Dfx_android_font.h26 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size);
27 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name);
28 virtual FX_BOOL GetFontCharset(void* hFont, int& charset);
30 virtual void DeleteFont(void* hFont);
31 virtual void* RetainFont(void* hFont);
/external/pdfium/fpdfsdk/src/
Dfpdf_sysfontinfo.cpp46 …virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size) FX_OVE… in GetFontData() argument
49 return m_pInfo->GetFontData(m_pInfo, hFont, table, buffer, size); in GetFontData()
53 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) FX_OVERRIDE in GetFaceName() argument
56 FX_DWORD size = m_pInfo->GetFaceName(m_pInfo, hFont, NULL, 0); in GetFaceName()
59 size = m_pInfo->GetFaceName(m_pInfo, hFont, buffer, size); in GetFaceName()
65 virtual FX_BOOL GetFontCharset(void* hFont, int& charset) FX_OVERRIDE in GetFontCharset() argument
68 charset = m_pInfo->GetFontCharset(m_pInfo, hFont); in GetFontCharset()
74 virtual void DeleteFont(void* hFont) FX_OVERRIDE in DeleteFont() argument
77 m_pInfo->DeleteFont(m_pInfo, hFont); in DeleteFont()
128 static unsigned long DefaultGetFontData(struct _FPDF_SYSFONTINFO* pThis, void* hFont, in DefaultGetFontData() argument
[all …]
/external/pdfium/core/src/fxge/ge/
Dfx_ge_fontmap.cpp558 CFX_ByteString CFX_FontMapper::GetPSNameFromTT(void* hFont) in GetPSNameFromTT() argument
564 FX_DWORD size = m_pFontInfo->GetFontData(hFont, 0x6e616d65, NULL, 0); in GetPSNameFromTT()
567 m_pFontInfo->GetFontData(hFont, 0x6e616d65, buffer, size); in GetPSNameFromTT()
593 void* hFont = m_pFontInfo->GetFont(name); in AddInstalledFont() local
594 if (hFont == NULL) { in AddInstalledFont()
596 hFont = m_pFontInfo->MapFont(0, 0, FXFONT_DEFAULT_CHARSET, 0, name, bExact); in AddInstalledFont()
597 if (hFont == NULL) { in AddInstalledFont()
601 CFX_ByteString new_name = GetPSNameFromTT(hFont); in AddInstalledFont()
606 m_pFontInfo->DeleteFont(hFont); in AddInstalledFont()
1129 void* hFont = m_pFontInfo->MapFont(weight, bItalic, Charset, PitchFamily, family, bExact); in FindSubstFont() local
[all …]
/external/pdfium/public/
Dfpdf_sysfontinfo.h142 unsigned long (*GetFontData)(struct _FPDF_SYSFONTINFO* pThis, void* hFont,
161 …unsigned long (*GetFaceName)(struct _FPDF_SYSFONTINFO* pThis, void* hFont, char* buffer, unsigned …
176 int (*GetFontCharset)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
191 void (*DeleteFont)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
/external/pdfium/core/include/fxge/
Dfx_font.h281 CFX_ByteString GetPSNameFromTT(void* hFont);
303 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size) = 0;
304 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) = 0;
305 virtual FX_BOOL GetFontCharset(void* hFont, int& charset) = 0;
306 virtual int GetFaceIndex(void* hFont) in GetFaceIndex() argument
310 virtual void DeleteFont(void* hFont) = 0;
311 virtual void* RetainFont(void* hFont) in RetainFont() argument
328 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size);
329 virtual void DeleteFont(void* hFont);
330 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name);
[all …]
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp31 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size);
32 virtual void DeleteFont(void* hFont);
33 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name);
34 virtual FX_BOOL GetFontCharset(void* hFont, int& charset);
62 HFONT hFont = CreateFontIndirectA(plf); in IsOpenTypeFromDiv() local
64 FX_DWORD font_size = GetFontData(hFont, 0, NULL, 0); in IsOpenTypeFromDiv()
67 GetFontData(hFont, 0, (FX_BYTE*)(&lVersion), sizeof(FX_DWORD)); in IsOpenTypeFromDiv()
78 DeleteFont(hFont); in IsOpenTypeFromDiv()
83 HFONT hFont = CreateFontIndirectA(plf); in IsSupportFontFormDiv() local
85 FX_DWORD font_size = GetFontData(hFont, 0, NULL, 0); in IsSupportFontFormDiv()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp246 HGDIOBJ hFont = CreateFontIndirectA(pLogFont); in AddWindowsFont() local
248 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
251 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
252 DeleteObject(hFont); in AddWindowsFont()
425 hFont = SelectObject(hDC, hFont); in AddWindowsFont()
426 DeleteObject(hFont); in AddWindowsFont()
/external/pdfium/core/src/fpdfdoc/
Ddoc_form.cpp388 HFONT hFont = (HFONT)::GetStockObject(iFontObject); in RetrieveStockFont() local
389 if (hFont != NULL) { in RetrieveStockFont()
391 int iRet = ::GetObject(hFont, sizeof(LOGFONTA), &lf); in RetrieveStockFont()
427 …HFONT hFont = ::CreateFontA(0, 0, 0, 0, 0, 0, 0, 0, iCharSet, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRE… in AddSystemFont() local
428 if (hFont != NULL) { in AddSystemFont()
431 ::GetObjectA(hFont, sizeof(LOGFONTA), &lf); in AddSystemFont()
432 ::DeleteObject(hFont); in AddSystemFont()
449 …HFONT hFont = ::CreateFontW(0, 0, 0, 0, 0, 0, 0, 0, iCharSet, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRE… in AddSystemFont() local
450 if (hFont != NULL) { in AddSystemFont()
453 ::GetObject(hFont, sizeof(LOGFONTA), &lf); in AddSystemFont()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...