Lines Matching refs:fontFace
124 SkTypeface* createTypefaceFromDWriteFont(IDWriteFontFace* fontFace,
191 void init(IDWriteFontFace* fontFace, const DWRITE_MATRIX& xform, FLOAT fontSize) {
192 fFontFace = fontFace;
240 run.fontFace = fFontFace;
522 IDWriteFontFace* fontFace,
532 , fDWriteFontFace(SkRefComPtr(fontFace))
542 static DWriteFontTypeface* Create(IDWriteFontFace* fontFace,
550 fontFace, font, fontFamily,
803 run.fontFace = fTypeface->fDWriteFontFace.get();
1205 AutoDWriteTable(IDWriteFontFace* fontFace, UINT32 beTag) : fFontFace(fontFace), fExists(FALSE) {
1207 fontFace->TryGetFontTable(beTag,
1220 // Borrowed reference, the user must ensure the fontFace stays alive.
1310 SkTScopedComPtr<IDWriteFontFace> fontFace;
1311 HRN(font->CreateFontFace(&fontFace));
1313 UINT32 faceIndex = fontFace->GetIndex();
1315 return DWriteFontTypeface::Create(fontFace.get(), font.get(), fontFamily.get(),
1406 static void populate_glyph_to_unicode(IDWriteFontFace* fontFace,
1415 hr = fontFace->GetGlyphIndices(&c, 1, &glyph);
1425 hr = fontFace->GetGlyphIndices(&c, 1, &glyph);
1433 fontFace->GetGlyphIndices(chars.get(), count, glyph.get());
1453 static bool getWidthAdvance(IDWriteFontFace* fontFace, int gId, int16_t* advance) {
1458 HRESULT hr = fontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm);
1472 AutoTDWriteTable(IDWriteFontFace* fontFace) : AutoDWriteTable(fontFace, tag) { }
1655 IDWriteFontFace* fontFace,
1662 face = DWriteFontTypeface::Create(fontFace, font, fontFamily,
1790 SkTScopedComPtr<IDWriteFontFace> fontFace;
1791 HRNM(font->CreateFontFace(&fontFace), "Could not create font face.");
1793 return this->createTypefaceFromDWriteFont(fontFace.get(), font.get(), fontFamily.get());
1806 SkTScopedComPtr<IDWriteFontFace> fontFace;
1807 fontFace), "Could not create font face.");
1809 return fFontMgr->createTypefaceFromDWriteFont(fontFace.get(), font.get(), fFontFamily.get());
1861 SkTScopedComPtr<IDWriteFontFace> fontFace;
1862 HRNM(font->CreateFontFace(&fontFace), "Could not create font face.");
1864 return fFontMgr->createTypefaceFromDWriteFont(fontFace.get(), font.get(),