Home | History | Annotate | Download | only in tests

Lines Matching refs:hfont

48     // Returns an HFONT with the given name. The caller does not have to free
51 HFONT MakeFont(const wchar_t* fontName, SCRIPT_CACHE** cache)
58 HFONT hfont = CreateFontIndirect(&lf);
59 if (!hfont)
64 createdFonts.append(std::make_pair(hfont, *cache));
65 return hfont;
95 Vector< std::pair<HFONT, SCRIPT_CACHE*> > createdFonts;
110 HFONT hfont = MakeFont(L"Times New Roman", &scriptCache);
111 ASSERT_TRUE(hfont);
118 false, hfont, scriptCache, &properties, 0);
151 false, hfont, scriptCache, &properties, 0);