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