Home
last modified time | relevance | path

Searched refs:pLogFont (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp957 CPDF_Font* CPDF_Document::AddWindowsFont(LOGFONTW* pLogFont, in AddWindowsFont() argument
961 memcpy(&lfa, pLogFont, (char*)lfa.lfFaceName - (char*)&lfa); in AddWindowsFont()
962 ByteString face = ByteString::FromUnicode(pLogFont->lfFaceName); in AddWindowsFont()
971 CPDF_Font* CPDF_Document::AddWindowsFont(LOGFONTA* pLogFont, in AddWindowsFont() argument
974 pLogFont->lfHeight = -1000; in AddWindowsFont()
975 pLogFont->lfWidth = 0; in AddWindowsFont()
976 HGDIOBJ hFont = CreateFontIndirectA(pLogFont); in AddWindowsFont()
990 int flags = CalculateFlags(false, pLogFont->lfItalic != 0, in AddWindowsFont()
991 (pLogFont->lfPitchAndFamily & 3) == FIXED_PITCH, in AddWindowsFont()
992 (pLogFont->lfPitchAndFamily & 0xf8) == FF_ROMAN, in AddWindowsFont()
[all …]
Dcpdf_document.h96 CPDF_Font* AddWindowsFont(LOGFONTA* pLogFont,
99 CPDF_Font* AddWindowsFont(LOGFONTW* pLogFont,
/external/pdfium/core/fpdfdoc/
Dcpdf_interform.h48 static ByteString GetNativeFont(uint8_t iCharSet, void* pLogFont);
Dcpdf_interform.cpp723 ByteString CPDF_InterForm::GetNativeFont(uint8_t charSet, void* pLogFont) { in GetNativeFont() argument
755 if (pLogFont) in GetNativeFont()
756 memcpy(pLogFont, &lf, sizeof(LOGFONTA)); in GetNativeFont()