Lines Matching defs:fontFace
312 sk_sp<SkTypeface> makeTypefaceFromDWriteFont(IDWriteFontFace* fontFace,
458 IDWriteFontFace* fontFace,
462 ProtoDWriteTypeface spec = { fontFace
465 face = DWriteFontTypeface::Create(fFactory.get(), fontFace, font, fontFamily);
538 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font),
550 fResolvedTypeface = fOuter->makeTypefaceFromDWriteFont(glyphRun->fontFace,
809 SkTScopedComPtr<IDWriteFontFace> fontFace;
810 HRNM(font->CreateFontFace(&fontFace), "Could not get font face from font.");
814 return this->makeTypefaceFromDWriteFont(fontFace.get(), font.get(), fontFamily.get()).release();
915 SkTScopedComPtr<IDWriteFontFace> fontFace;
916 HRN(font->CreateFontFace(&fontFace));
918 int faceIndex = fontFace->GetIndex();
921 fontFace.get(), font.get(), fontFamily.get(),
965 SkTScopedComPtr<IDWriteFontFace> fontFace;
966 HRN(font->CreateFontFace(&fontFace));
967 int faceIndex = fontFace->GetIndex();
978 if (SUCCEEDED(fontFace->QueryInterface(&fontFace5)) && fontFace5->HasVariations()) {
1002 fontFace.reset();
1003 HRN(fontFace5_Out->QueryInterface(&fontFace));
1009 fFactory.get(), fontFace.get(), font.get(), fontFamily.get(),
1075 SkTScopedComPtr<IDWriteFontFace> fontFace;
1076 HRNM(font->CreateFontFace(&fontFace), "Could not create font face.");
1078 return this->makeTypefaceFromDWriteFont(fontFace.get(), font.get(), fontFamily.get());
1091 SkTScopedComPtr<IDWriteFontFace> fontFace;
1092 HRNM(font->CreateFontFace(&fontFace), "Could not create font face.");
1094 return fFontMgr->makeTypefaceFromDWriteFont(fontFace.get(), font.get(), fFontFamily.get()).release();
1120 SkTScopedComPtr<IDWriteFontFace> fontFace;
1121 HRNM(font->CreateFontFace(&fontFace), "Could not create font face.");
1123 return fFontMgr->makeTypefaceFromDWriteFont(fontFace.get(), font.get(),