/external/skqp/tools/fonts/ |
D | test_font_index.inc | 13 … LiberationMonoNormalMetrics, "Toy Liberation Mono", SkFontStyle(400,5,SkFontStyle::kUpright_Slant) 17 … LiberationMonoBoldMetrics, "Toy Liberation Mono", SkFontStyle(700,5,SkFontStyle::kUpright_Slant) 21 … LiberationMonoItalicMetrics, "Toy Liberation Mono", SkFontStyle(400,5,SkFontStyle::kItalic_Slant) 25 …LiberationMonoBoldItalicMetrics, "Toy Liberation Mono", SkFontStyle(700,5,SkFontStyle::kItalic_Sla… 29 … LiberationSansNormalMetrics, "Toy Liberation Sans", SkFontStyle(400,5,SkFontStyle::kUpright_Slant) 33 … LiberationSansBoldMetrics, "Toy Liberation Sans", SkFontStyle(700,5,SkFontStyle::kUpright_Slant) 37 … LiberationSansItalicMetrics, "Toy Liberation Sans", SkFontStyle(400,5,SkFontStyle::kItalic_Slant) 41 …LiberationSansBoldItalicMetrics, "Toy Liberation Sans", SkFontStyle(700,5,SkFontStyle::kItalic_Sla… 45 …LiberationSerifNormalMetrics, "Toy Liberation Serif", SkFontStyle(400,5,SkFontStyle::kUpright_Slan… 49 … LiberationSerifBoldMetrics, "Toy Liberation Serif", SkFontStyle(700,5,SkFontStyle::kUpright_Slant) [all …]
|
D | SkTestFontMgr.cpp | 30 TypefaceEntry(sk_sp<SkTypeface> typeface, SkFontStyle style, const char* styleName) in TypefaceEntry() 36 SkFontStyle fStyle; 42 void getStyle(int index, SkFontStyle* style, SkString* name) override { in getStyle() 51 SkTypeface* matchStyle(const SkFontStyle& pattern) override { in matchStyle() 96 …fFamilies.back()->fTypefaces.emplace_back(SkTestSVGTypeface::Default(), SkFontStyle::Normal(), "No… in FontMgr() 125 const SkFontStyle& style) const override { in onMatchFamilyStyle() 131 const SkFontStyle& style, in onMatchFamilyStyleCharacter() 141 const SkFontStyle& style) const override { in onMatchFaceStyle() 166 SkFontStyle style) const override { in onLegacyMakeTypeface()
|
/external/skia/tools/fonts/ |
D | test_font_index.inc | 13 … LiberationMonoNormalMetrics, "Toy Liberation Mono", SkFontStyle(400,5,SkFontStyle::kUpright_Slant) 17 … LiberationMonoBoldMetrics, "Toy Liberation Mono", SkFontStyle(700,5,SkFontStyle::kUpright_Slant) 21 … LiberationMonoItalicMetrics, "Toy Liberation Mono", SkFontStyle(400,5,SkFontStyle::kItalic_Slant) 25 …LiberationMonoBoldItalicMetrics, "Toy Liberation Mono", SkFontStyle(700,5,SkFontStyle::kItalic_Sla… 29 … LiberationSansNormalMetrics, "Toy Liberation Sans", SkFontStyle(400,5,SkFontStyle::kUpright_Slant) 33 … LiberationSansBoldMetrics, "Toy Liberation Sans", SkFontStyle(700,5,SkFontStyle::kUpright_Slant) 37 … LiberationSansItalicMetrics, "Toy Liberation Sans", SkFontStyle(400,5,SkFontStyle::kItalic_Slant) 41 …LiberationSansBoldItalicMetrics, "Toy Liberation Sans", SkFontStyle(700,5,SkFontStyle::kItalic_Sla… 45 …LiberationSerifNormalMetrics, "Toy Liberation Serif", SkFontStyle(400,5,SkFontStyle::kUpright_Slan… 49 … LiberationSerifBoldMetrics, "Toy Liberation Serif", SkFontStyle(700,5,SkFontStyle::kUpright_Slant) [all …]
|
D | SkTestFontMgr.cpp | 30 TypefaceEntry(sk_sp<SkTypeface> typeface, SkFontStyle style, const char* styleName) in TypefaceEntry() 36 SkFontStyle fStyle; 42 void getStyle(int index, SkFontStyle* style, SkString* name) override { in getStyle() 51 SkTypeface* matchStyle(const SkFontStyle& pattern) override { in matchStyle() 96 …fFamilies.back()->fTypefaces.emplace_back(SkTestSVGTypeface::Default(), SkFontStyle::Normal(), "No… in FontMgr() 125 const SkFontStyle& style) const override { in onMatchFamilyStyle() 131 const SkFontStyle& style, in onMatchFamilyStyleCharacter() 141 const SkFontStyle& style) const override { in onMatchFaceStyle() 166 SkFontStyle style) const override { in onLegacyMakeTypeface()
|
/external/skia/tests/ |
D | FontMgrTest.cpp | 63 sk_sp<SkTypeface> first(SkTypeface::MakeFromName(inNames[i], SkFontStyle())); in test_alias_names() 68 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(inNames[i], SkFontStyle())); in test_alias_names() 98 SkFontStyle fs; in test_fontiter() 120 …static const SkFontStyle invalidFontStyle(101, SkFontStyle::kNormal_Width, SkFontStyle::kUpright_S… in test_matchStyleCSS3() 124 TestTypeface(const SkFontStyle& fontStyle) : SkTypeface(fontStyle, false){} in test_matchStyleCSS3() 172 TestFontStyleSet(std::initializer_list<SkFontStyle> styles) : fStyles(styles) {} in test_matchStyleCSS3() 174 void getStyle(int index, SkFontStyle* style, SkString*) override { in test_matchStyleCSS3() 185 SkTypeface* matchStyle(const SkFontStyle& pattern) override { in test_matchStyleCSS3() 189 std::vector<SkFontStyle> fStyles; in test_matchStyleCSS3() 192 …SkFontStyle condensed_normal_100(SkFontStyle::kThin_Weight, SkFontStyle::kCondensed_Width, SkFont… in test_matchStyleCSS3() [all …]
|
/external/skqp/tests/ |
D | FontMgrTest.cpp | 62 sk_sp<SkTypeface> first(SkTypeface::MakeFromName(inNames[i], SkFontStyle())); in test_alias_names() 67 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(inNames[i], SkFontStyle())); in test_alias_names() 97 SkFontStyle fs; in test_fontiter() 119 …static const SkFontStyle invalidFontStyle(101, SkFontStyle::kNormal_Width, SkFontStyle::kUpright_S… in test_matchStyleCSS3() 123 TestTypeface(const SkFontStyle& fontStyle) : SkTypeface(fontStyle, false){} in test_matchStyleCSS3() 171 TestFontStyleSet(std::initializer_list<SkFontStyle> styles) : fStyles(styles) {} in test_matchStyleCSS3() 173 void getStyle(int index, SkFontStyle* style, SkString*) override { in test_matchStyleCSS3() 184 SkTypeface* matchStyle(const SkFontStyle& pattern) override { in test_matchStyleCSS3() 188 std::vector<SkFontStyle> fStyles; in test_matchStyleCSS3() 191 …SkFontStyle condensed_normal_100(SkFontStyle::kThin_Weight, SkFontStyle::kCondensed_Width, SkFont… in test_matchStyleCSS3() [all …]
|
/external/skia/include/core/ |
D | SkFontStyle.h | 13 class SK_API SkFontStyle { 47 constexpr SkFontStyle(int weight, int width, Slant slant) : fValue( in SkFontStyle() function 53 constexpr SkFontStyle() : SkFontStyle{kNormal_Weight, kNormal_Width, kUpright_Slant} { } in SkFontStyle() function 55 bool operator==(const SkFontStyle& rhs) const { 63 static constexpr SkFontStyle Normal() { in Normal() 64 return SkFontStyle(kNormal_Weight, kNormal_Width, kUpright_Slant); in Normal() 66 static constexpr SkFontStyle Bold() { in Bold() 67 return SkFontStyle(kBold_Weight, kNormal_Width, kUpright_Slant); in Bold() 69 static constexpr SkFontStyle Italic() { in Italic() 70 return SkFontStyle(kNormal_Weight, kNormal_Width, kItalic_Slant ); in Italic() [all …]
|
D | SkFontMgr.h | 25 virtual void getStyle(int index, SkFontStyle*, SkString* style) = 0; 27 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) = 0; 32 SkTypeface* matchStyleCSS3(const SkFontStyle& pattern); 69 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&) const; 86 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 90 SkTypeface* matchFaceStyle(const SkTypeface*, const SkFontStyle&) const; 124 sk_sp<SkTypeface> legacyMakeTypeface(const char familyName[], SkFontStyle style) const; 138 const SkFontStyle&) const = 0; 139 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 143 const SkFontStyle&) const = 0; [all …]
|
/external/skqp/include/core/ |
D | SkFontStyle.h | 13 class SK_API SkFontStyle { 47 constexpr SkFontStyle(int weight, int width, Slant slant) : fValue( in SkFontStyle() function 53 constexpr SkFontStyle() : SkFontStyle{kNormal_Weight, kNormal_Width, kUpright_Slant} { } in SkFontStyle() function 55 bool operator==(const SkFontStyle& rhs) const { 63 static constexpr SkFontStyle Normal() { in Normal() 64 return SkFontStyle(kNormal_Weight, kNormal_Width, kUpright_Slant); in Normal() 66 static constexpr SkFontStyle Bold() { in Bold() 67 return SkFontStyle(kBold_Weight, kNormal_Width, kUpright_Slant); in Bold() 69 static constexpr SkFontStyle Italic() { in Italic() 70 return SkFontStyle(kNormal_Weight, kNormal_Width, kItalic_Slant ); in Italic() [all …]
|
D | SkFontMgr.h | 25 virtual void getStyle(int index, SkFontStyle*, SkString* style) = 0; 27 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) = 0; 32 SkTypeface* matchStyleCSS3(const SkFontStyle& pattern); 69 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&) const; 86 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 90 SkTypeface* matchFaceStyle(const SkTypeface*, const SkFontStyle&) const; 124 sk_sp<SkTypeface> legacyMakeTypeface(const char familyName[], SkFontStyle style) const; 138 const SkFontStyle&) const = 0; 139 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 143 const SkFontStyle&) const = 0; [all …]
|
/external/skqp/modules/skottie/src/ |
D | SkottieTextLayer.cpp | 29 SkFontStyle FontStyle(const AnimationBuilder* abuilder, const char* style) { in FontStyle() 32 const SkFontStyle::Weight fWeight; in FontStyle() 34 { "ExtraLight", SkFontStyle::kExtraLight_Weight }, in FontStyle() 35 { "Light" , SkFontStyle::kLight_Weight }, in FontStyle() 36 { "Regular" , SkFontStyle::kNormal_Weight }, in FontStyle() 37 { "Medium" , SkFontStyle::kMedium_Weight }, in FontStyle() 38 { "SemiBold" , SkFontStyle::kSemiBold_Weight }, in FontStyle() 39 { "Bold" , SkFontStyle::kBold_Weight }, in FontStyle() 40 { "ExtraBold" , SkFontStyle::kExtraBold_Weight }, in FontStyle() 43 SkFontStyle::Weight weight = SkFontStyle::kNormal_Weight; in FontStyle() [all …]
|
/external/skia/modules/skottie/src/ |
D | SkottieTextLayer.cpp | 29 SkFontStyle FontStyle(const AnimationBuilder* abuilder, const char* style) { in FontStyle() 32 const SkFontStyle::Weight fWeight; in FontStyle() 34 { "ExtraLight", SkFontStyle::kExtraLight_Weight }, in FontStyle() 35 { "Light" , SkFontStyle::kLight_Weight }, in FontStyle() 36 { "Regular" , SkFontStyle::kNormal_Weight }, in FontStyle() 37 { "Medium" , SkFontStyle::kMedium_Weight }, in FontStyle() 38 { "SemiBold" , SkFontStyle::kSemiBold_Weight }, in FontStyle() 39 { "Bold" , SkFontStyle::kBold_Weight }, in FontStyle() 40 { "ExtraBold" , SkFontStyle::kExtraBold_Weight }, in FontStyle() 43 SkFontStyle::Weight weight = SkFontStyle::kNormal_Weight; in FontStyle() [all …]
|
/external/skia/src/core/ |
D | SkFontMgr.cpp | 14 class SkFontStyle; 20 void getStyle(int, SkFontStyle*, SkString*) override { in getStyle() argument 27 SkTypeface* matchStyle(const SkFontStyle&) override { in matchStyle() argument 52 SkTypeface* onMatchFamilyStyle(const char[], const SkFontStyle&) const override { in onMatchFamilyStyle() 56 const SkFontStyle& style, in onMatchFamilyStyleCharacter() 62 SkTypeface* onMatchFaceStyle(const SkTypeface*, const SkFontStyle&) const override { in onMatchFaceStyle() 82 sk_sp<SkTypeface> onLegacyMakeTypeface(const char [], SkFontStyle) const override { in onLegacyMakeTypeface() 111 const SkFontStyle& fs) const { in matchFamilyStyle() 115 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, in matchFamilyStyleCharacter() 122 const SkFontStyle& fs) const { in matchFaceStyle() [all …]
|
D | SkTypeface.cpp | 22 SkTypeface::SkTypeface(const SkFontStyle& style, bool isFixedPitch) in SkTypeface() 45 SkEmptyTypeface() : SkTypeface(SkFontStyle(), true) { } in SkEmptyTypeface() 97 SkFontStyle SkTypeface::FromOldStyle(Style oldStyle) { in FromOldStyle() 98 return SkFontStyle((oldStyle & SkTypeface::kBold) ? SkFontStyle::kBold_Weight in FromOldStyle() 99 : SkFontStyle::kNormal_Weight, in FromOldStyle() 100 SkFontStyle::kNormal_Width, in FromOldStyle() 101 (oldStyle & SkTypeface::kItalic) ? SkFontStyle::kItalic_Slant in FromOldStyle() 102 : SkFontStyle::kUpright_Slant); in FromOldStyle() 136 SkFontStyle fontStyle) { in MakeFromName() 137 if (nullptr == name && (fontStyle.slant() == SkFontStyle::kItalic_Slant || in MakeFromName() [all …]
|
/external/skqp/src/core/ |
D | SkFontMgr.cpp | 14 class SkFontStyle; 20 void getStyle(int, SkFontStyle*, SkString*) override { in getStyle() argument 27 SkTypeface* matchStyle(const SkFontStyle&) override { in matchStyle() argument 52 SkTypeface* onMatchFamilyStyle(const char[], const SkFontStyle&) const override { in onMatchFamilyStyle() 56 const SkFontStyle& style, in onMatchFamilyStyleCharacter() 62 SkTypeface* onMatchFaceStyle(const SkTypeface*, const SkFontStyle&) const override { in onMatchFaceStyle() 82 sk_sp<SkTypeface> onLegacyMakeTypeface(const char [], SkFontStyle) const override { in onLegacyMakeTypeface() 111 const SkFontStyle& fs) const { in matchFamilyStyle() 115 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, in matchFamilyStyleCharacter() 122 const SkFontStyle& fs) const { in matchFaceStyle() [all …]
|
D | SkTypeface.cpp | 22 SkTypeface::SkTypeface(const SkFontStyle& style, bool isFixedPitch) in SkTypeface() 45 SkEmptyTypeface() : SkTypeface(SkFontStyle(), true) { } in SkEmptyTypeface() 97 SkFontStyle SkTypeface::FromOldStyle(Style oldStyle) { in FromOldStyle() 98 return SkFontStyle((oldStyle & SkTypeface::kBold) ? SkFontStyle::kBold_Weight in FromOldStyle() 99 : SkFontStyle::kNormal_Weight, in FromOldStyle() 100 SkFontStyle::kNormal_Width, in FromOldStyle() 101 (oldStyle & SkTypeface::kItalic) ? SkFontStyle::kItalic_Slant in FromOldStyle() 102 : SkFontStyle::kUpright_Slant); in FromOldStyle() 136 SkFontStyle fontStyle) { in MakeFromName() 137 if (nullptr == name && (fontStyle.slant() == SkFontStyle::kItalic_Slant || in MakeFromName() [all …]
|
/external/skqp/src/ports/ |
D | SkFontMgr_fuchsia.cpp | 55 fuchsia::fonts::Slant SkToFuchsiaSlant(SkFontStyle::Slant slant) { in SkToFuchsiaSlant() 57 case SkFontStyle::kOblique_Slant: in SkToFuchsiaSlant() 59 case SkFontStyle::kItalic_Slant: in SkToFuchsiaSlant() 61 case SkFontStyle::kUpright_Slant: in SkToFuchsiaSlant() 67 SkFontStyle::Slant FuchsiaToSkSlant(fuchsia::fonts::Slant slant) { in FuchsiaToSkSlant() 70 return SkFontStyle::kOblique_Slant; in FuchsiaToSkSlant() 72 return SkFontStyle::kItalic_Slant; in FuchsiaToSkSlant() 75 return SkFontStyle::kUpright_Slant; in FuchsiaToSkSlant() 115 SkTypeface_Fuchsia(std::unique_ptr<SkFontData> fontData, const SkFontStyle& style, in SkTypeface_Fuchsia() 132 SkFontStyle style; in CreateTypefaceFromSkStream() [all …]
|
D | SkFontMgr_custom.cpp | 28 SkTypeface_Custom::SkTypeface_Custom(const SkFontStyle& style, bool isFixedPitch, in SkTypeface_Custom() 49 SkTypeface_Empty::SkTypeface_Empty() : INHERITED(SkFontStyle(), false, true, SkString(), 0) {} in SkTypeface_Empty() 58 const SkFontStyle& style, bool isFixedPitch, bool sysFont, in SkTypeface_Stream() 89 SkTypeface_File::SkTypeface_File(const SkFontStyle& style, bool isFixedPitch, bool sysFont, in SkTypeface_File() 128 void SkFontStyleSet_Custom::getStyle(int index, SkFontStyle* style, SkString* name) { in getStyle() 143 SkTypeface* SkFontStyleSet_Custom::matchStyle(const SkFontStyle& pattern) { in matchStyle() 163 sk_sp<SkTypeface> tf(set->matchStyle(SkFontStyle(SkFontStyle::kNormal_Weight, in SkFontMgr_Custom() 164 SkFontStyle::kNormal_Width, in SkFontMgr_Custom() 165 SkFontStyle::kUpright_Slant))); in SkFontMgr_Custom() 202 const SkFontStyle& fontStyle) const in onMatchFamilyStyle() [all …]
|
D | SkFontMgr_custom.h | 27 SkTypeface_Custom(const SkFontStyle& style, bool isFixedPitch, 63 const SkFontStyle& style, bool isFixedPitch, bool sysFont, 80 SkTypeface_File(const SkFontStyle& style, bool isFixedPitch, bool sysFont, 107 void getStyle(int index, SkFontStyle* style, SkString* name) override; 109 SkTypeface* matchStyle(const SkFontStyle& pattern) override; 142 const SkFontStyle& fontStyle) const override; 143 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 147 const SkFontStyle& fontStyle) const override; 153 … sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const override;
|
D | SkFontMgr_FontConfigInterface.cpp | 61 void getStyle(int index, SkFontStyle*, SkString* style) override { SkASSERT(false); } in getStyle() argument 63 SkTypeface* matchStyle(const SkFontStyle& pattern) override { return nullptr; } in matchStyle() 72 Request(const char* name, size_t nameLen, const SkFontStyle& style) : fStyle(style) { in Request() 87 const SkFontStyle fStyle; 92 static Request* Create(const char* name, const SkFontStyle& style) { in Create() 195 const SkFontStyle& requestedStyle) const override in onMatchFamilyStyle() 201 SkFontStyle outStyle; in onMatchFamilyStyle() 218 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, in onMatchFamilyStyleCharacter() argument 225 SkTypeface* onMatchFaceStyle(const SkTypeface*, const SkFontStyle&) const override { in onMatchFaceStyle() 246 SkFontStyle style; in onMakeFromStreamIndex() [all …]
|
/external/skia/src/ports/ |
D | SkFontMgr_fuchsia.cpp | 55 fuchsia::fonts::Slant SkToFuchsiaSlant(SkFontStyle::Slant slant) { in SkToFuchsiaSlant() 57 case SkFontStyle::kOblique_Slant: in SkToFuchsiaSlant() 59 case SkFontStyle::kItalic_Slant: in SkToFuchsiaSlant() 61 case SkFontStyle::kUpright_Slant: in SkToFuchsiaSlant() 67 SkFontStyle::Slant FuchsiaToSkSlant(fuchsia::fonts::Slant slant) { in FuchsiaToSkSlant() 70 return SkFontStyle::kOblique_Slant; in FuchsiaToSkSlant() 72 return SkFontStyle::kItalic_Slant; in FuchsiaToSkSlant() 75 return SkFontStyle::kUpright_Slant; in FuchsiaToSkSlant() 115 SkTypeface_Fuchsia(std::unique_ptr<SkFontData> fontData, const SkFontStyle& style, in SkTypeface_Fuchsia() 132 SkFontStyle style; in CreateTypefaceFromSkStream() [all …]
|
D | SkFontMgr_custom.cpp | 28 SkTypeface_Custom::SkTypeface_Custom(const SkFontStyle& style, bool isFixedPitch, in SkTypeface_Custom() 49 SkTypeface_Empty::SkTypeface_Empty() : INHERITED(SkFontStyle(), false, true, SkString(), 0) {} in SkTypeface_Empty() 58 const SkFontStyle& style, bool isFixedPitch, bool sysFont, in SkTypeface_Stream() 89 SkTypeface_File::SkTypeface_File(const SkFontStyle& style, bool isFixedPitch, bool sysFont, in SkTypeface_File() 128 void SkFontStyleSet_Custom::getStyle(int index, SkFontStyle* style, SkString* name) { in getStyle() 143 SkTypeface* SkFontStyleSet_Custom::matchStyle(const SkFontStyle& pattern) { in matchStyle() 163 sk_sp<SkTypeface> tf(set->matchStyle(SkFontStyle(SkFontStyle::kNormal_Weight, in SkFontMgr_Custom() 164 SkFontStyle::kNormal_Width, in SkFontMgr_Custom() 165 SkFontStyle::kUpright_Slant))); in SkFontMgr_Custom() 202 const SkFontStyle& fontStyle) const in onMatchFamilyStyle() [all …]
|
D | SkFontMgr_custom.h | 27 SkTypeface_Custom(const SkFontStyle& style, bool isFixedPitch, 63 const SkFontStyle& style, bool isFixedPitch, bool sysFont, 80 SkTypeface_File(const SkFontStyle& style, bool isFixedPitch, bool sysFont, 107 void getStyle(int index, SkFontStyle* style, SkString* name) override; 109 SkTypeface* matchStyle(const SkFontStyle& pattern) override; 142 const SkFontStyle& fontStyle) const override; 143 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 147 const SkFontStyle& fontStyle) const override; 153 … sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const override;
|
D | SkFontMgr_FontConfigInterface.cpp | 61 void getStyle(int index, SkFontStyle*, SkString* style) override { SkASSERT(false); } in getStyle() argument 63 SkTypeface* matchStyle(const SkFontStyle& pattern) override { return nullptr; } in matchStyle() 72 Request(const char* name, size_t nameLen, const SkFontStyle& style) : fStyle(style) { in Request() 87 const SkFontStyle fStyle; 92 static Request* Create(const char* name, const SkFontStyle& style) { in Create() 194 const SkFontStyle& requestedStyle) const override in onMatchFamilyStyle() 200 SkFontStyle outStyle; in onMatchFamilyStyle() 217 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, in onMatchFamilyStyleCharacter() argument 224 SkTypeface* onMatchFaceStyle(const SkTypeface*, const SkFontStyle&) const override { in onMatchFaceStyle() 245 SkFontStyle style; in onMakeFromStreamIndex() [all …]
|
D | SkTypeface_win_dw.h | 27 static SkFontStyle get_style(IDWriteFont* font) { in get_style() 30 SkFontStyle::Slant slant = SkFontStyle::kUpright_Slant; in get_style() 32 case DWRITE_FONT_STYLE_NORMAL: slant = SkFontStyle::kUpright_Slant; break; in get_style() 33 case DWRITE_FONT_STYLE_OBLIQUE: slant = SkFontStyle::kOblique_Slant; break; in get_style() 34 case DWRITE_FONT_STYLE_ITALIC: slant = SkFontStyle::kItalic_Slant; break; in get_style() 37 return SkFontStyle(weight, width, slant); in get_style() 42 DWriteFontTypeface(const SkFontStyle& style,
|