Home
last modified time | relevance | path

Searched refs:logfont (Results 1 – 3 of 3) sorted by relevance

/external/webkit/WebCore/platform/graphics/win/
DFontPlatformDataCGWin.cpp113 LOGFONT logfont; in platformDataInit() local
114 GetObject(font, sizeof(logfont), &logfont); in platformDataInit()
115 m_cgFont.adoptCF(CGFontCreateWithPlatformFont(&logfont)); in platformDataInit()
131 LOGFONT* logfont = static_cast<LOGFONT*>(malloc(sizeof(LOGFONT))); in platformDataInit() local
132 GetObject(font, sizeof(*logfont), logfont); in platformDataInit()
133 wkSetFontPlatformInfo(m_cgFont.get(), logfont, free); in platformDataInit()
/external/webkit/WebCore/platform/graphics/chromium/
DFontUtilsChromiumWin.cpp299 LOGFONT* logfont, in getDerivedFontData() argument
304 ASSERT(logfont); in getDerivedFontData()
314 String fontKey = String::format("%1d:%d:%ls", style, logfont->lfHeight, family); in getDerivedFontData()
319 wcscpy_s(logfont->lfFaceName, LF_FACESIZE, family); in getDerivedFontData()
326 derived->hfont = CreateFontIndirect(logfont); in getDerivedFontData()
345 int getStyleFromLogfont(const LOGFONT* logfont) in getStyleFromLogfont() argument
349 if (!logfont) { in getStyleFromLogfont()
353 return (logfont->lfItalic ? FontStyleItalic : FontStyleNormal) | in getStyleFromLogfont()
354 (logfont->lfUnderline ? FontStyleUnderlined : FontStyleNormal) | in getStyleFromLogfont()
355 (logfont->lfWeight >= 700 ? FontStyleBold : FontStyleNormal); in getStyleFromLogfont()
DUniscribeHelper.cpp79 static void setLogFontAndStyle(HFONT hfont, LOGFONT *logfont, int *style) in setLogFontAndStyle() argument
81 ASSERT(hfont && logfont); in setLogFontAndStyle()
82 if (!hfont || !logfont) in setLogFontAndStyle()
85 GetObject(hfont, sizeof(LOGFONT), logfont); in setLogFontAndStyle()
89 logfont->lfWidth = 0; in setLogFontAndStyle()
90 logfont->lfEscapement = 0; in setLogFontAndStyle()
91 logfont->lfOrientation = 0; in setLogFontAndStyle()
92 logfont->lfCharSet = DEFAULT_CHARSET; in setLogFontAndStyle()
93 logfont->lfOutPrecision = OUT_TT_ONLY_PRECIS; in setLogFontAndStyle()
94 logfont->lfQuality = DEFAULT_QUALITY; // Honor user's desktop settings. in setLogFontAndStyle()
[all …]