Home | History | Annotate | Download | only in chromium

Lines Matching refs:hfont

237 static HFONT createFontIndirectAndGetWinName(const String& family, LOGFONT* winfont, String* winName)
243 HFONT hfont = CreateFontIndirect(winfont);
244 if (!hfont)
248 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
257 return hfont;
284 HFONT hfont = fontData->hfont();
286 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(hdc, hfont));
288 if (count == 0 && ChromiumBridge::ensureFontLoaded(hfont))
527 HFONT hfont = createFontIndirectAndGetWinName(family, &winfont, &winName);
528 if (!hfont)
543 DeleteObject(hfont);
548 return new FontPlatformData(hfont,