Lines Matching defs:fontStyle
156 std::vector<sk_sp<SkTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames, SkFontStyle fontStyle) {
159 const std::vector<SkString>& familyNames, RSFontStyle fontStyle)
162 return findTypefaces(familyNames, fontStyle, std::nullopt);
167 SkFontStyle fontStyle, const std::optional<FontArguments>& fontArgs) {
169 FamilyKey familyKey(familyNames, fontStyle, fontArgs);
180 sk_sp<SkTypeface> match = matchTypeface(familyName, fontStyle);
192 match = matchTypeface(familyName, fontStyle);
200 match = manager->legacyMakeTypeface(nullptr, fontStyle);
217 RSFontStyle fontStyle, const std::optional<FontArguments>& fontArgs)
220 FamilyKey familyKey(familyNames, fontStyle, fontArgs);
231 std::shared_ptr<RSTypeface> match = matchTypeface(familyName, fontStyle);
243 match = matchTypeface(familyName, fontStyle);
252 match = RSLegacyMakeTypeface(manager, nullptr, fontStyle);
270 sk_sp<SkTypeface> FontCollection::matchTypeface(const SkString& familyName, SkFontStyle fontStyle) {
277 sk_sp<SkTypeface> match(set->matchStyle(fontStyle));
286 std::shared_ptr<RSTypeface> FontCollection::matchTypeface(const SkString& familyName, RSFontStyle fontStyle) {
293 std::shared_ptr<RSTypeface> match(set->MatchStyle(fontStyle));
306 sk_sp<SkTypeface> FontCollection::defaultFallback(SkUnichar unicode, SkFontStyle fontStyle, const SkString& locale) {
309 SkUnichar unicode, RSFontStyle fontStyle, const SkString& locale)
320 nullptr, fontStyle, bcp47.data(), bcp47.size(), unicode));
323 nullptr, fontStyle, bcp47.data(), bcp47.size(), unicode));