Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/webui/options/
Dfont_settings_utils_win.cc32 LOGFONTW logfont; in GetFontsList() local
33 memset(&logfont, 0, sizeof(logfont)); in GetFontsList()
34 logfont.lfCharSet = DEFAULT_CHARSET; in GetFontsList()
37 ::EnumFontFamiliesExW(hdc, &logfont, (FONTENUMPROCW)&EnumFontFamExProc, in GetFontsList()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontUtilsChromiumWin.cpp393 LOGFONT* logfont, in getDerivedFontData() argument
399 ASSERT(logfont); in getDerivedFontData()
409 String fontKey = String::format("%1d:%d:%ls", style, logfont->lfHeight, family); in getDerivedFontData()
414 wcscpy_s(logfont->lfFaceName, LF_FACESIZE, family); in getDerivedFontData()
421 derived->hfont = CreateFontIndirect(logfont); in getDerivedFontData()
442 int getStyleFromLogfont(const LOGFONT* logfont) in getStyleFromLogfont() argument
446 if (!logfont) { in getStyleFromLogfont()
450 return (logfont->lfItalic ? FontStyleItalic : FontStyleNormal) | in getStyleFromLogfont()
451 (logfont->lfUnderline ? FontStyleUnderlined : FontStyleNormal) | in getStyleFromLogfont()
452 (logfont->lfWeight >= 700 ? FontStyleBold : FontStyleNormal); in getStyleFromLogfont()
DUniscribeHelper.cpp50 static void setLogFontAndStyle(HFONT hfont, LOGFONT *logfont, int *style) in setLogFontAndStyle() argument
52 ASSERT(hfont && logfont); in setLogFontAndStyle()
53 if (!hfont || !logfont) in setLogFontAndStyle()
56 GetObject(hfont, sizeof(LOGFONT), logfont); in setLogFontAndStyle()
60 logfont->lfWidth = 0; in setLogFontAndStyle()
61 logfont->lfEscapement = 0; in setLogFontAndStyle()
62 logfont->lfOrientation = 0; in setLogFontAndStyle()
63 logfont->lfCharSet = DEFAULT_CHARSET; in setLogFontAndStyle()
64 logfont->lfOutPrecision = OUT_TT_ONLY_PRECIS; in setLogFontAndStyle()
65 logfont->lfQuality = DEFAULT_QUALITY; // Honor user's desktop settings. in setLogFontAndStyle()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DFontPlatformDataCGWin.cpp112 LOGFONT logfont; in platformDataInit() local
113 GetObject(font, sizeof(logfont), &logfont); in platformDataInit()
114 m_cgFont.adoptCF(CGFontCreateWithPlatformFont(&logfont)); in platformDataInit()
/external/chromium/chrome/browser/
Dbrowser_main.cc860 void AdjustUIFont(LOGFONT* logfont) { in AdjustUIFont() argument
861 l10n_util::AdjustUIFont(logfont); in AdjustUIFont()
/external/chromium/chrome/browser/ui/views/
Dtask_manager_view.cc241 LOGFONT* logfont) { in GetCellColors() argument