Home | History | Annotate | Download | only in chromium

Lines Matching full:logfont

47 // This function uses GetObject to convert HFONT back to LOGFONT,
48 // resets the fields of LOGFONT and calculates style to use later
50 static void setLogFontAndStyle(HFONT hfont, LOGFONT *logfont, int *style)
52 ASSERT(hfont && logfont);
53 if (!hfont || !logfont)
56 GetObject(hfont, sizeof(LOGFONT), logfont);
60 logfont->lfWidth = 0;
61 logfont->lfEscapement = 0;
62 logfont->lfOrientation = 0;
63 logfont->lfCharSet = DEFAULT_CHARSET;
64 logfont->lfOutPrecision = OUT_TT_ONLY_PRECIS;
65 logfont->lfQuality = DEFAULT_QUALITY; // Honor user's desktop settings.
66 logfont->lfPitchAndFamily = DEFAULT_PITCH | FF_DONTCARE;
68 *style = getStyleFromLogfont(logfont);