Lines Matching refs:fontFamily
126 IDWriteFontFamily* fontFamily,
146 HRESULT getByFamilyName(const WCHAR familyName[], IDWriteFontFamily** fontFamily);
147 HRESULT getDefaultFontFamily(IDWriteFontFamily** fontFamily);
169 SkFontStyleSet_DirectWrite(SkFontMgr_DirectWrite* fontMgr, IDWriteFontFamily* fontFamily)
171 , fFontFamily(SkRefComPtr(fontFamily))
524 IDWriteFontFamily* fontFamily,
530 , fDWriteFontFamily(SkRefComPtr(fontFamily))
544 IDWriteFontFamily* fontFamily,
550 fontFace, font, fontFamily,
1299 SkTScopedComPtr<IDWriteFontFamily> fontFamily;
1300 HRN(fontCollection->GetFontFamily(familyIndex, &fontFamily));
1302 UINT32 fontCount = fontFamily->GetFontCount();
1305 HRN(fontFamily->GetFont(fontIndex, &font));
1315 return DWriteFontTypeface::Create(fontFace.get(), font.get(), fontFamily.get(),
1657 IDWriteFontFamily* fontFamily,
1662 face = DWriteFontTypeface::Create(fontFace, font, fontFamily,
1676 SkTScopedComPtr<IDWriteFontFamily> fontFamily;
1677 HRVM(fFontCollection->GetFontFamily(index, &fontFamily), "Could not get requested family.");
1680 HRVM(fontFamily->GetFamilyNames(&familyNames), "Could not get family names.");
1686 SkTScopedComPtr<IDWriteFontFamily> fontFamily;
1687 HRNM(fFontCollection->GetFontFamily(index, &fontFamily), "Could not get requested family.");
1689 return SkNEW_ARGS(SkFontStyleSet_DirectWrite, (this, fontFamily.get()));
1737 IDWriteFontFamily** fontFamily) {
1743 HR(fFontCollection->GetFontFamily(index, fontFamily));
1749 HRESULT SkFontMgr_DirectWrite::getDefaultFontFamily(IDWriteFontFamily** fontFamily) {
1758 HRM(this->getByFamilyName(metrics.lfMessageFont.lfFaceName, fontFamily),
1766 SkTScopedComPtr<IDWriteFontFamily> fontFamily;
1770 this->getByFamilyName(wideFamilyName, &fontFamily);
1774 if (NULL == fontFamily.get()) {
1776 HRNM(this->getDefaultFontFamily(&fontFamily), "Could not get default font family.");
1787 HRNM(fontFamily->GetFirstMatchingFont(weight, stretch, italic, &font),
1793 return this->createTypefaceFromDWriteFont(fontFace.get(), font.get(), fontFamily.get());