Searched refs:fFC (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/src/ports/ |
D | SkFontMgr_fontconfig.cpp | 565 mutable SkAutoFcConfig fFC; // Only mutable to avoid const cast when passed to FontConfig API. member in SkFontMgr_fontconfig 616 FcConfigSubstitute(fFontMgr->fFC, pattern, FcMatchPattern); in matchStyle() 621 return FcFontSetMatch(fFontMgr->fFC, in matchStyle() 721 : fFC(config ? config : FcInitLoadConfigAndFonts()) in SkFontMgr_fontconfig() 722 , fSysroot(reinterpret_cast<const char*>(FcConfigGetSysRoot(fFC))) in SkFontMgr_fontconfig() 723 , fFamilyNames(GetFamilyNames(fFC)) { } in SkFontMgr_fontconfig() 728 fFC.reset(); in ~SkFontMgr_fontconfig() 835 FcConfigSubstitute(fFC, pattern, FcMatchPattern); in onMatchFamily() 855 FcFontSet* allFonts(FcConfigGetFonts(fFC, fcNameSet[setIndex])); in onMatchFamily() 863 FcFontSetAdd(matches, FcFontRenderPrepare(fFC, pattern, font)); in onMatchFamily() [all …]
|
/third_party/flutter/skia/src/ports/ |
D | SkFontMgr_fontconfig.cpp | 579 mutable SkAutoFcConfig fFC; // Only mutable to avoid const cast when passed to FontConfig API. member in SkFontMgr_fontconfig 624 FcConfigSubstitute(fFontMgr->fFC, pattern, FcMatchPattern); in matchStyle() 629 SkAutoFcPattern match(FcFontSetMatch(fFontMgr->fFC, in matchStyle() 722 : fFC(config ? config : FcInitLoadConfigAndFonts()) in SkFontMgr_fontconfig() 723 , fSysroot(reinterpret_cast<const char*>(FcConfigGetSysRoot(fFC))) in SkFontMgr_fontconfig() 724 , fFamilyNames(GetFamilyNames(fFC)) { } in SkFontMgr_fontconfig() 729 fFC.reset(); in ~SkFontMgr_fontconfig() 836 FcConfigSubstitute(fFC, pattern, FcMatchPattern); in onMatchFamily() 856 FcFontSet* allFonts(FcConfigGetFonts(fFC, fcNameSet[setIndex])); in onMatchFamily() 864 FcFontSetAdd(matches, FcFontRenderPrepare(fFC, pattern, font)); in onMatchFamily() [all …]
|
/third_party/flutter/skia/samplecode/ |
D | SampleParagraph.cpp | 34 static sk_sp<TestFontCollection> fFC = nullptr; in getFontCollection() local 35 if (fFC == nullptr) { in getFontCollection() 36 fFC = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str()); in getFontCollection() 38 return fFC; in getFontCollection()
|
/third_party/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 39 static sk_sp<TestFontCollection> fFC = nullptr; in getFontCollection() local 40 if (fFC == nullptr) { in getFontCollection() 41 fFC = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true); in getFontCollection() 43 return fFC; in getFontCollection()
|