/third_party/skia/modules/skparagraph/src/ |
H A D | TypefaceFontProvider.cpp | 14 void TypefaceFontProvider::onGetFamilyName(int index, SkString* familyName) const { in onGetFamilyName() 16 familyName->set(fFamilyNames[index]); in onGetFamilyName() 19 SkFontStyleSet* TypefaceFontProvider::onMatchFamily(const char familyName[]) const { in onMatchFamily() 20 auto found = fRegisteredFamilies.find(SkString(familyName)); in onMatchFamily() 32 SkString familyName; in registerTypeface() local 33 typeface->getFamilyName(&familyName); in registerTypeface() 35 return registerTypeface(std::move(typeface), std::move(familyName)); in registerTypeface() 38 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface, const SkString& familyName) { in registerTypeface() argument 39 if (familyName.size() == 0) { in registerTypeface() 43 auto found = fRegisteredFamilies.find(familyName); in registerTypeface() 65 TypefaceFontStyleSet(const SkString& familyName) TypefaceFontStyleSet() argument [all...] |
H A D | FontCollection.cpp | 14 std::shared_ptr<RSFontMgr> fontMgr, const char familyName[], RSFontStyle style) in RSLegacyMakeTypeface() 16 RSTypeface* typeface = fontMgr->MatchFamilyStyle(familyName, style); in RSLegacyMakeTypeface() 17 if (typeface == nullptr && familyName != nullptr) { in RSLegacyMakeTypeface() 179 for (const SkString& familyName : familyNames) { 180 sk_sp<SkTypeface> match = matchTypeface(familyName, fontStyle); 191 for (const SkString& familyName : fDefaultFamilyNames) { 192 match = matchTypeface(familyName, fontStyle); 230 for (const auto& familyName : familyNames) { 231 std::shared_ptr<RSTypeface> match = matchTypeface(familyName, fontStyle); 242 for (const auto& familyName 13 RSLegacyMakeTypeface( std::shared_ptr<RSFontMgr> fontMgr, const char familyName[], RSFontStyle style) RSLegacyMakeTypeface() argument 270 matchTypeface(const SkString& familyName, SkFontStyle fontStyle) global() argument 286 matchTypeface(const SkString& familyName, RSFontStyle fontStyle) global() argument [all...] |
/third_party/skia/tools/fonts/ |
H A D | TestFontMgr.cpp | 29 FontStyleSet(const char* familyName) : fFamilyName(familyName) {} in FontStyleSet() argument 111 void onGetFamilyName(int index, SkString* familyName) const override { 112 *familyName = fFamilies[index]->getFamilyName(); 120 SkFontStyleSet* onMatchFamily(const char familyName[]) const override { 121 if (familyName) { 122 if (strstr(familyName, "ono")) { 125 if (strstr(familyName, "ans")) { 128 if (strstr(familyName, "erif")) { 132 if (strstr(familyName, "oj [all...] |
/third_party/skia/src/ports/ |
H A D | SkFontMgr_custom.cpp | 28 bool sysFont, const SkString familyName, int index) in SkTypeface_Custom() 30 , fIsSysFont(sysFont), fFamilyName(familyName), fIndex(index) in SkTypeface_Custom() 35 void SkTypeface_Custom::onGetFamilyName(SkString* familyName) const { in onGetFamilyName() 36 *familyName = fFamilyName; in onGetFamilyName() 60 const SkString familyName) in SkTypeface_Stream() 61 : INHERITED(style, isFixedPitch, sysFont, familyName, fontData->getIndex()) in SkTypeface_Stream() 80 SkString familyName; in onMakeClone() local 81 this->getFamilyName(&familyName); in onMakeClone() 87 familyName); in onMakeClone() 91 const SkString familyName, cons in SkTypeface_File() 27 SkTypeface_Custom(const SkFontStyle& style, bool isFixedPitch, bool sysFont, const SkString familyName, int index) SkTypeface_Custom() argument 58 SkTypeface_Stream(std::unique_ptr<SkFontData> fontData, const SkFontStyle& style, bool isFixedPitch, bool sysFont, const SkString familyName) SkTypeface_Stream() argument 90 SkTypeface_File(const SkFontStyle& style, bool isFixedPitch, bool sysFont, const SkString familyName, const char path[], int index) SkTypeface_File() argument 107 SkString familyName; onMakeClone() local 128 SkFontStyleSet_Custom(const SkString familyName) SkFontStyleSet_Custom() argument [all...] |
H A D | SkFontMgr_preview.h | 35 const SkString& familyName) in SkTypeface_Preview() 37 , fFamilyName(familyName) in SkTypeface_Preview() 43 void onGetFamilyName(SkString* familyName) const override 45 *familyName = fFamilyName; 61 const SkString& familyName, in SkTypeface_PreviewSystem() 64 : INHERITED(style, isFixedPitch, familyName) in SkTypeface_PreviewSystem() 136 const SkString& familyName) in SkTypeface_PreviewStream() 137 : INHERITED(style, isFixedPitch, familyName) in SkTypeface_PreviewStream() 202 SkString familyName; in SkFontStyleSet_Preview() local 208 &familyName, in SkFontStyleSet_Preview() 33 SkTypeface_Preview(const SkFontStyle& style, bool isFixedPitch, const SkString& familyName) SkTypeface_Preview() argument 56 SkTypeface_PreviewSystem(const SkString& pathName, int index, const SkFixed* axes, int axesCount, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName, const SkTArray<SkLanguage, true>& lang, FontVariant variantStyle) SkTypeface_PreviewSystem() argument 133 SkTypeface_PreviewStream(std::unique_ptr<SkFontData> data, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName) SkTypeface_PreviewStream() argument [all...] |
H A D | SkFontConfigTypeface.h | 28 SkString familyName, in Create() 31 return new SkTypeface_FCI(std::move(fci), fi, std::move(familyName), style); in Create() 35 SkString familyName, SkFontStyle style, bool isFixedPitch) in Create() 37 return new SkTypeface_FCI(std::move(data), std::move(familyName), style, isFixedPitch); in Create() 58 SkString familyName, in SkTypeface_FCI() 63 , fFamilyName(std::move(familyName)) in SkTypeface_FCI() 67 SkString familyName, SkFontStyle style, bool isFixedPitch) in SkTypeface_FCI() 69 , fFamilyName(std::move(familyName)) in SkTypeface_FCI() 76 void onGetFamilyName(SkString* familyName) const override { *familyName 26 Create(sk_sp<SkFontConfigInterface> fci, const SkFontConfigInterface::FontIdentity& fi, SkString familyName, const SkFontStyle& style) Create() argument 34 Create(std::unique_ptr<SkFontData> data, SkString familyName, SkFontStyle style, bool isFixedPitch) Create() argument 56 SkTypeface_FCI(sk_sp<SkFontConfigInterface> fci, const SkFontConfigInterface::FontIdentity& fi, SkString familyName, const SkFontStyle& style) SkTypeface_FCI() argument 66 SkTypeface_FCI(std::unique_ptr<SkFontData> data, SkString familyName, SkFontStyle style, bool isFixedPitch) SkTypeface_FCI() argument [all...] |
H A D | SkFontMgr_android.cpp | 38 const SkString& familyName) in SkTypeface_Android() 40 , fFamilyName(familyName) in SkTypeface_Android() 44 void onGetFamilyName(SkString* familyName) const override { 45 *familyName = fFamilyName; 62 const SkString& familyName, in SkTypeface_AndroidSystem() 65 : INHERITED(style, isFixedPitch, familyName) in SkTypeface_AndroidSystem() 132 const SkString& familyName) in SkTypeface_AndroidStream() 133 : INHERITED(style, isFixedPitch, familyName) in SkTypeface_AndroidStream() 196 SkString familyName; in SkFontStyleSet_Android() local 201 &familyName, in SkFontStyleSet_Android() 36 SkTypeface_Android(const SkFontStyle& style, bool isFixedPitch, const SkString& familyName) SkTypeface_Android() argument 56 SkTypeface_AndroidSystem(const SkString& pathName, const bool cacheFontFiles, int index, const SkFixed* axes, int axesCount, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName, const SkTArray<SkLanguage, true>& lang, FontVariant variantStyle) SkTypeface_AndroidSystem() argument 129 SkTypeface_AndroidStream(std::unique_ptr<SkFontData> data, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName) SkTypeface_AndroidStream() argument 361 find_family_style_character( const SkString& familyName, const SkTArray<NameToFamily, true>& fallbackNameToFamilyMap, const SkFontStyle& style, bool elegant, const SkString& langTag, SkUnichar character) find_family_style_character() argument [all...] |
H A D | SkFontMgr_preview.cpp | 28 void SkFontMgr_Preview::onGetFamilyName(int index, SkString* familyName) const in onGetFamilyName() 31 familyName->reset(); in onGetFamilyName() 34 familyName->set(fNameToFamilyMap[index].name); in onGetFamilyName() 45 SkFontStyleSet* SkFontMgr_Preview::onMatchFamily(const char familyName[]) const in onMatchFamily() 47 if (!familyName) { in onMatchFamily() 50 SkAutoAsciiToLC tolc(familyName); in onMatchFamily() 65 SkTypeface* SkFontMgr_Preview::onMatchFamilyStyle(const char familyName[], const SkFontStyle& style) const in onMatchFamilyStyle() argument 67 sk_sp<SkFontStyleSet> sset(this->matchFamily(familyName)); in onMatchFamilyStyle() 84 const SkString& familyName, in find_family_style_character() 91 if (familyName ! in find_family_style_character() 83 find_family_style_character( const SkString& familyName, const SkTArray<NameToFamily, true>& fallbackNameToFamilyMap, const SkFontStyle& style, bool elegant, const SkString& langTag, SkUnichar character) find_family_style_character() argument 113 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const onMatchFamilyStyleCharacter() argument 196 onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const onLegacyMakeTypeface() argument [all...] |
H A D | SkFontMgr_custom.h | 28 bool sysFont, const SkString familyName, int index); 32 void onGetFamilyName(SkString* familyName) const override; 65 const SkString familyName); 82 const SkString familyName, const char path[], int index); 104 explicit SkFontStyleSet_Custom(const SkString familyName); 140 void onGetFamilyName(int index, SkString* familyName) const override; 142 SkFontStyleSet_Custom* onMatchFamily(const char familyName[]) const override; 143 SkTypeface* onMatchFamilyStyle(const char familyName[], 145 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 152 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyl [all...] |
H A D | SkFontMgr_fuchsia.cpp | 192 bool isFixedPitch, const SkString familyName, TypefaceId id) in SkTypeface_Fuchsia() 194 /*sys_font=*/true, familyName) in SkTypeface_Fuchsia() 238 void onGetFamilyName(int index, SkString* familyName) const override; 239 SkFontStyleSet* onMatchFamily(const char familyName[]) const override; 241 SkTypeface* onMatchFamilyStyle(const char familyName[], const SkFontStyle&) const override; 242 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 251 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override; 256 sk_sp<SkTypeface> FetchTypeface(const char familyName[], const SkFontStyle& style, 276 SkFontStyleSet_Fuchsia(sk_sp<SkFontMgr_Fuchsia> font_manager, std::string familyName, in SkFontStyleSet_Fuchsia() argument 278 : fFontManager(font_manager), fFamilyName(familyName), fStyle in SkFontStyleSet_Fuchsia() 191 SkTypeface_Fuchsia(std::unique_ptr<SkFontData> fontData, const SkFontStyle& style, bool isFixedPitch, const SkString familyName, TypefaceId id) SkTypeface_Fuchsia() argument 353 onMatchFamilyStyle(const char familyName[], const SkFontStyle& style) const onMatchFamilyStyle() argument 362 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const onMatchFamilyStyleCharacter() argument 391 onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const onLegacyMakeTypeface() argument 396 FetchTypeface(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character, bool allow_fallback, bool exact_style_match) const FetchTypeface() argument [all...] |
H A D | SkFontMgr_mac_ct.cpp | 84 static SkUniqueCFRef<CTFontDescriptorRef> create_descriptor(const char familyName[], in create_descriptor() argument 157 if (familyName) { in create_descriptor() 158 SkUniqueCFRef<CFStringRef> cfFontName = make_CFString(familyName); in create_descriptor() 200 static sk_sp<SkTypeface> create_from_name(const char familyName[], const SkFontStyle& style) { in create_from_name() argument 201 SkUniqueCFRef<CTFontDescriptorRef> desc = create_descriptor(familyName, style); in create_from_name() 375 SkUniqueCFRef<CFTypeRef> familyName( in SkCopyAvailableFontFamilyNames() 377 if (familyName) { in SkCopyAvailableFontFamilyNames() 378 CFSetAddValue(familyNameSet, familyName.get()); in SkCopyAvailableFontFamilyNames() 458 void onGetFamilyName(int index, SkString* familyName) const override { 460 SkStringFromCFString(this->getFamilyNameAt(index), familyName); [all...] |
H A D | SkFontMgr_fontconfig.cpp | 402 SkString familyName, const SkFontStyle& style, bool fixedWidth) 404 , fFamilyName(std::move(familyName)) 408 void onGetFamilyName(SkString* familyName) const override { 409 *familyName = fFamilyName; 452 void onGetFamilyName(SkString* familyName) const override { 453 *familyName = get_string(fPattern, FC_FAMILY); 528 SkString familyName; 529 this->getFamilyName(&familyName); 532 familyName, 669 const char* familyName [all...] |
/third_party/skia/src/ports/skia_ohos/ |
H A D | SkTypeface_ohos.cpp | 14 * \param familyName the specified family name for the typeface 17 SkTypeface_OHOS::SkTypeface_OHOS(const SkString& familyName, FontInfo& info) in SkTypeface_OHOS() argument 19 specifiedName(familyName) in SkTypeface_OHOS() 83 SkString familyName; in onGetFontDescriptor() local 84 onGetFamilyName(&familyName); in onGetFontDescriptor() 85 descriptor->setFamilyName(familyName.c_str()); in onGetFontDescriptor() 98 * \param[out] familyName the family name returned to the caller 100 void SkTypeface_OHOS::onGetFamilyName(SkString* familyName) const in onGetFamilyName() 102 if (familyName == nullptr) { in onGetFamilyName() 106 *familyName in onGetFamilyName() [all...] |
H A D | FontConfig_ohos.cpp | 97 * \param[out] familyName a pointer of SkString object, to which the family value will be set. 101 int FontConfig_OHOS::getDefaultFamily(SkString* familyName) const in getDefaultFamily() 103 return getFamilyName(0, familyName); in getDefaultFamily() 108 * \param[out] familyName a pointer of SkString object, to which the family value will be set 112 int FontConfig_OHOS::getFamilyName(int index, SkString* familyName) const in getFamilyName() 115 if (familyName) { in getFamilyName() 116 familyName->reset(); in getFamilyName() 120 if (familyName) { in getFamilyName() 121 *familyName = genericFamilySet[index]->familyName; in getFamilyName() 221 getStyleIndex(const char* familyName, bool& isFallback) const getStyleIndex() argument 568 SkString familyName = SkString(root[key].asCString()); parseGeneric() local 755 SkString familyName = SkString(root[key].asCString()); parseFallbackItem() local 859 parseTtcIndex(const Json::Value& root, const SkString& familyName) parseTtcIndex() argument 985 getTypefaceSet(const SkString& familyName, SkString& specifiedName) const getTypefaceSet() argument 1174 buildSubTypefaceSet(const std::shared_ptr<TypefaceSet>& typefaceSet, std::shared_ptr<TypefaceSet>& subSet, const SkString& familyName, int weight) buildSubTypefaceSet() argument [all...] |
H A D | FontInfo_ohos.h | 22 FontInfo() : familyName(""), fname(""), index(0), in FontInfo() 31 : familyName(font.familyName), fname(font.fname), index(font.index), in FontInfo() 45 : familyName(std::move(font.familyName)), fname(std::move(font.fname)), index(font.index), in FontInfo() 60 : familyName(""), fname(""), index(index), in FontInfo() 82 familyName = font.familyName; in operator =() 103 familyName = std::move(font.familyName); in operator =() 149 SkString familyName; // the real family name of the font global() member [all...] |
H A D | SkFontMgr_ohos.cpp | 31 * \param[out] familyName the family name returned to the caller 34 void SkFontMgr_OHOS::onGetFamilyName(int index, SkString* familyName) const in onGetFamilyName() 36 if (fontConfig == nullptr || familyName == nullptr) { in onGetFamilyName() 39 fontConfig->getFamilyName(index, familyName); in onGetFamilyName() 60 * \param familyName the family name of a font style set 66 SkFontStyleSet* SkFontMgr_OHOS::onMatchFamily(const char familyName[]) const in onMatchFamily() 71 // return default system font when familyName is null in onMatchFamily() 72 if (familyName == nullptr) { in onMatchFamily() 77 int index = fontConfig->getStyleIndex(familyName, isFallback); in onMatchFamily() 85 * \param familyName th 92 onMatchFamilyStyle(const char familyName[], const SkFontStyle& style) const onMatchFamilyStyle() argument 117 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const onMatchFamilyStyleCharacter() argument 284 SkString familyName; onMatchFaceStyle() local 373 onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const onLegacyMakeTypeface() argument [all...] |
H A D | FontConfig_ohos.h | 89 SkString familyName; // the specified family name of the font style set member 112 int getDefaultFamily(SkString* familyName) const; 113 int getFamilyName(int index, SkString* familyName) const; 115 int getStyleIndex(const char* familyName, bool& isFallback) const; 180 SkString familyName; // the family name of the first typeface in a ttc font member 220 int parseTtcIndex(const Json::Value& root, const SkString& familyName); 225 TypefaceSet* getTypefaceSet(const SkString& familyName, SkString& specifiedName) const; 231 std::shared_ptr<TypefaceSet>& subSet, const SkString& familyName, int weight);
|
H A D | SkFontMgr_ohos.h | 30 virtual void onGetFamilyName(int index, SkString* familyName) const override; 33 virtual SkFontStyleSet* onMatchFamily(const char familyName[]) const override; 35 virtual SkTypeface* onMatchFamilyStyle(const char familyName[], 37 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, 51 virtual sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const override;
|
/third_party/skia/src/core/ |
H A D | SkFontMgr.cpp | 41 void onGetFamilyName(int index, SkString* familyName) const override { 55 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], 92 void SkFontMgr::getFamilyName(int index, SkString* familyName) const { in getFamilyName() 93 this->onGetFamilyName(index, familyName); in getFamilyName() 100 SkFontStyleSet* SkFontMgr::matchFamily(const char familyName[]) const { in matchFamily() 101 return emptyOnNull(this->onMatchFamily(familyName)); in matchFamily() 104 SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], in matchFamilyStyle() argument 106 return this->onMatchFamilyStyle(familyName, fs); in matchFamilyStyle() 109 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, in matchFamilyStyleCharacter() argument 112 return this->onMatchFamilyStyleCharacter(familyName, styl in matchFamilyStyleCharacter() 145 legacyMakeTypeface(const char familyName[], SkFontStyle style) const legacyMakeTypeface() argument [all...] |
/third_party/skia/include/core/ |
H A D | SkFontMgr.h | 62 void getFamilyName(int index, SkString* familyName) const; 87 SkFontStyleSet* matchFamily(const char familyName[]) const; 90 * Find the closest matching typeface to the specified familyName and style 94 * Passing |nullptr| as the parameter for |familyName| will return the 101 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&) const; 111 * Passing |nullptr| as the parameter for |familyName| will return the 118 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 147 sk_sp<SkTypeface> legacyMakeTypeface(const char familyName[], SkFontStyle style) const; 190 virtual void onGetFamilyName(int index, SkString* familyName) const = 0; 194 virtual SkFontStyleSet* onMatchFamily(const char familyName[]) cons [all...] |
/third_party/skia/src/utils/ |
H A D | SkOrderedFontMgr.cpp | 26 void SkOrderedFontMgr::onGetFamilyName(int index, SkString* familyName) const { in onGetFamilyName() 30 return fm->getFamilyName(index, familyName); in onGetFamilyName() 47 SkFontStyleSet* SkOrderedFontMgr::onMatchFamily(const char familyName[]) const { in onMatchFamily() 49 if (auto fs = fm->matchFamily(familyName)) { in onMatchFamily() 66 SkTypeface* SkOrderedFontMgr::onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter() argument 71 if (auto tf = fm->matchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, uni)) { in onMatchFamilyStyleCharacter()
|
/third_party/skia/src/fonts/ |
H A D | SkFontMgr_indirect.cpp | 66 void SkFontMgr_Indirect::onGetFamilyName(int index, SkString* familyName) const { in onGetFamilyName() 74 SkFontStyleSet* SkFontMgr_Indirect::onMatchFamily(const char familyName[]) const { in onMatchFamily() 75 return new SkStyleSet_Indirect(this, -1, fProxy->matchName(familyName)); in onMatchFamily() 137 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle() argument 139 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); in onMatchFamilyStyle() 143 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter() argument 148 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47, in onMatchFamilyStyleCharacter() 171 sk_sp<SkTypeface> SkFontMgr_Indirect::onLegacyMakeTypeface(const char familyName[], in onLegacyMakeTypeface() argument 173 sk_sp<SkTypeface> face(this->matchFamilyStyle(familyName, style)); in onLegacyMakeTypeface()
|
/third_party/skia/include/utils/ |
H A D | SkOrderedFontMgr.h | 29 void onGetFamilyName(int index, SkString* familyName) const override; 32 SkFontStyleSet* onMatchFamily(const char familyName[]) const override; 34 SkTypeface* onMatchFamilyStyle(const char familyName[], const SkFontStyle&) const override; 35 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 47 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
|
/third_party/skia/docs/examples/ |
H A D | SkFontMgr_example2.cpp | 20 SkString familyName; in REG_FIDDLE() local 21 mgr->getFamilyName(i, &familyName); in REG_FIDDLE() 30 familyName.c_str(), fontStyle.weight(), fontStyle.width(), in REG_FIDDLE() 32 SkFont font(mgr->legacyMakeTypeface(familyName.c_str(), fontStyle), textScale); in REG_FIDDLE()
|
/third_party/skia/include/ports/ |
H A D | SkFontMgr_indirect.h | 36 void onGetFamilyName(int index, SkString* familyName) const override; 39 SkFontStyleSet* onMatchFamily(const char familyName[]) const override; 41 SkTypeface* onMatchFamilyStyle(const char familyName[], 44 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], 55 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
|