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 FXSYS_memcpy(&lfa, pLogFont, (char*)lfa.lfFaceName - (char*)&lfa); in AddWindowsFont()
962 CFX_ByteString face = CFX_ByteString::FromUnicode(pLogFont->lfFaceName); in AddWindowsFont()
970 CPDF_Font* CPDF_Document::AddWindowsFont(LOGFONTA* pLogFont, in AddWindowsFont() argument
973 pLogFont->lfHeight = -1000; in AddWindowsFont()
974 pLogFont->lfWidth = 0; in AddWindowsFont()
975 HGDIOBJ hFont = CreateFontIndirectA(pLogFont); in AddWindowsFont()
989 int flags = CalculateFlags(false, pLogFont->lfItalic != 0, in AddWindowsFont()
990 (pLogFont->lfPitchAndFamily & 3) == FIXED_PITCH, in AddWindowsFont()
991 (pLogFont->lfPitchAndFamily & 0xf8) == FF_ROMAN, in AddWindowsFont()
[all …]
Dcpdf_document.h95 CPDF_Font* AddWindowsFont(LOGFONTA* pLogFont,
98 CPDF_Font* AddWindowsFont(LOGFONTW* pLogFont,
/external/pdfium/core/fpdfdoc/
Dcpdf_interform.h47 static CFX_ByteString GetNativeFont(uint8_t iCharSet, void* pLogFont);
Dcpdf_interform.cpp754 CFX_ByteString CPDF_InterForm::GetNativeFont(uint8_t charSet, void* pLogFont) { in GetNativeFont() argument
786 if (pLogFont) in GetNativeFont()
787 memcpy(pLogFont, &lf, sizeof(LOGFONTA)); in GetNativeFont()