/external/pdfium/core/src/fxge/android/ |
D | fx_android_font.cpp | 53 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 …]
|
D | fx_android_font.h | 25 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size); 26 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name); 27 virtual FX_BOOL GetFontCharset(void* hFont, int& charset); 29 virtual void DeleteFont(void* hFont); 30 virtual void* RetainFont(void* hFont);
|
/external/pdfium/fpdfsdk/src/ |
D | fpdf_sysfontinfo.cpp | 45 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size) in GetFontData() argument 48 return m_pInfo->GetFontData(m_pInfo, hFont, table, buffer, size); in GetFontData() 52 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) in GetFaceName() argument 55 FX_DWORD size = m_pInfo->GetFaceName(m_pInfo, hFont, NULL, 0); in GetFaceName() 58 size = m_pInfo->GetFaceName(m_pInfo, hFont, buffer, size); in GetFaceName() 64 virtual FX_BOOL GetFontCharset(void* hFont, int& charset) in GetFontCharset() argument 67 charset = m_pInfo->GetFontCharset(m_pInfo, hFont); in GetFontCharset() 73 virtual void DeleteFont(void* hFont) in DeleteFont() argument 76 m_pInfo->DeleteFont(m_pInfo, hFont); in DeleteFont() 119 static unsigned long DefaultGetFontData(struct _FPDF_SYSFONTINFO* pThis, void* hFont, in DefaultGetFontData() argument [all …]
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_fontmap.cpp | 576 CFX_ByteString CFX_FontMapper::GetPSNameFromTT(void* hFont) in GetPSNameFromTT() argument 582 FX_DWORD size = m_pFontInfo->GetFontData(hFont, 0x6e616d65, NULL, 0); in GetPSNameFromTT() 588 m_pFontInfo->GetFontData(hFont, 0x6e616d65, buffer, size); in GetPSNameFromTT() 614 void* hFont = m_pFontInfo->GetFont(name); in AddInstalledFont() local 615 if (hFont == NULL) { in AddInstalledFont() 617 hFont = m_pFontInfo->MapFont(0, 0, FXFONT_DEFAULT_CHARSET, 0, name, bExact); in AddInstalledFont() 618 if (hFont == NULL) { in AddInstalledFont() 622 CFX_ByteString new_name = GetPSNameFromTT(hFont); in AddInstalledFont() 627 m_pFontInfo->DeleteFont(hFont); in AddInstalledFont() 1165 void* hFont = m_pFontInfo->MapFont(weight, bItalic, Charset, PitchFamily, family, bExact); in FindSubstFont() local [all …]
|
/external/pdfium/fpdfsdk/include/ |
D | fpdf_sysfontinfo.h | 143 unsigned long (*GetFontData)(struct _FPDF_SYSFONTINFO* pThis, void* hFont, 162 …unsigned long (*GetFaceName)(struct _FPDF_SYSFONTINFO* pThis, void* hFont, char* buffer, unsigned … 177 int (*GetFontCharset)(struct _FPDF_SYSFONTINFO* pThis, void* hFont); 192 void (*DeleteFont)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
|
/external/pdfium/core/include/fxge/ |
D | fx_font.h | 281 CFX_ByteString GetPSNameFromTT(void* hFont); 302 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size) = 0; 303 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) = 0; 304 virtual FX_BOOL GetFontCharset(void* hFont, int& charset) = 0; 305 virtual int GetFaceIndex(void* hFont) in GetFaceIndex() argument 309 virtual void DeleteFont(void* hFont) = 0; 310 virtual void* RetainFont(void* hFont) in RetainFont() argument 325 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size); 326 virtual void DeleteFont(void* hFont); 327 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name); [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderThemeChromiumFontProviderWin.cpp | 93 HFONT hFont = CreateFontIndirect(&font); in systemFontSize() local 94 if (hFont) { in systemFontSize() 97 HGDIOBJ hObject = SelectObject(hdc, hFont); in systemFontSize() 103 DeleteObject(hFont); in systemFontSize()
|
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_device.cpp | 31 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/ |
D | fpdf_edit_doc.cpp | 246 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/chromium_org/third_party/npapi/npspy/windows/ |
D | dirpick.cpp | 535 HFONT hFont = (HFONT)SendMessage(hWnd, WM_GETFONT, 0, 0L); in DirPickDlgProc() local 536 if(hFont == NULL) in DirPickDlgProc() 537 hFont = GetStockFont(SYSTEM_FONT); in DirPickDlgProc() 539 HFONT hFontOld = SelectFont(hDC, hFont); in DirPickDlgProc()
|
D | gui_main.cpp | 172 HFONT hFont = GetStockFont(ANSI_FIXED_FONT); in onInitDialog() local 173 SetWindowFont(GetDlgItem(hWnd, IDC_MAIN_OUTPUT), hFont, FALSE); in onInitDialog()
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_form.cpp | 410 HFONT hFont = (HFONT)::GetStockObject(iFontObject); in RetrieveStockFont() local 411 if (hFont != NULL) { in RetrieveStockFont() 413 int iRet = ::GetObject(hFont, sizeof(LOGFONTA), &lf); in RetrieveStockFont() 449 …HFONT hFont = ::CreateFontA(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 ::GetObjectA(hFont, sizeof(LOGFONTA), &lf); in AddSystemFont() 454 ::DeleteObject(hFont); in AddSystemFont() 471 …HFONT hFont = ::CreateFontW(0, 0, 0, 0, 0, 0, 0, 0, iCharSet, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRE… in AddSystemFont() local 472 if (hFont != NULL) { in AddSystemFont() 475 ::GetObject(hFont, sizeof(LOGFONTA), &lf); in AddSystemFont() [all …]
|