Home
last modified time | relevance | path

Searched refs:SkTypeface (Results 1 – 25 of 201) sorted by relevance

123456789

/third_party/skia/src/core/
DSkTypeface.cpp25 SkTypeface::SkTypeface(const SkFontStyle& style, bool isFixedPitch) in SkTypeface() function in SkTypeface
28 SkTypeface::~SkTypeface() { } in ~SkTypeface()
34 class SkEmptyTypeface : public SkTypeface {
36 static sk_sp<SkTypeface> Make() { return sk_sp<SkTypeface>(new SkEmptyTypeface); } in Make()
38 SkEmptyTypeface() : SkTypeface(SkFontStyle(), true) { } in SkEmptyTypeface()
41 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override { in onMakeClone()
62 class EmptyLocalizedStrings : public SkTypeface::LocalizedStrings {
64 bool next(SkTypeface::LocalizedString*) override { return false; } in next()
72 SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const override { in onCreateFamilyNameIterator()
96 SkFontStyle SkTypeface::FromOldStyle(Style oldStyle) { in FromOldStyle()
[all …]
DSkFontMgr.cpp15 class SkTypeface;
23 SkTypeface* createTypeface(int index) override { in createTypeface()
27 SkTypeface* matchStyle(const SkFontStyle&) override { in matchStyle()
52 SkTypeface* onMatchFamilyStyle(const char[], const SkFontStyle&) const override { in onMatchFamilyStyle()
55 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter()
63 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int) const override { in onMakeFromData()
66 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int) const override { in onMakeFromStreamIndex()
69 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, in onMakeFromStreamArgs()
73 sk_sp<SkTypeface> onMakeFromFile(const char[], int) const override { in onMakeFromFile()
76 sk_sp<SkTypeface> onLegacyMakeTypeface(const char [], SkFontStyle) const override { in onLegacyMakeTypeface()
[all …]
DSkTypefaceCache.h26 typedef bool(*FindProc)(SkTypeface*, void* context);
32 void add(sk_sp<SkTypeface>);
39 sk_sp<SkTypeface> findByProcAndRef(FindProc proc, void* ctx) const;
57 static void Add(sk_sp<SkTypeface>);
58 static sk_sp<SkTypeface> FindByProcAndRef(FindProc proc, void* ctx);
71 SkTArray<sk_sp<SkTypeface>> fTypefaces;
/third_party/skia/include/core/
DSkFontMgr.h24 class SkTypeface; variable
30 virtual SkTypeface* createTypeface(int index) = 0;
31 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) = 0;
36 SkTypeface* matchStyleCSS3(const SkFontStyle& pattern);
84 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&) const;
101 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
110 sk_sp<SkTypeface> makeFromData(sk_sp<SkData>, int ttcIndex = 0) const;
117 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, int ttcIndex = 0) const;
120 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) const;
128 sk_sp<SkTypeface> makeFromFile(const char path[], int ttcIndex = 0) const;
[all …]
DSkTypeface.h45 class SK_API SkTypeface : public SkWeakRefCnt {
100 static SkFontID UniqueID(const SkTypeface* face);
105 static bool Equal(const SkTypeface* facea, const SkTypeface* faceb);
108 static sk_sp<SkTypeface> MakeDefault();
119 static sk_sp<SkTypeface> MakeFromName(const char familyName[], SkFontStyle fontStyle);
124 static sk_sp<SkTypeface> MakeFromFile(const char path[], int index = 0);
130 static sk_sp<SkTypeface> MakeFromStream(std::unique_ptr<SkStreamAsset> stream, int index = 0);
135 static sk_sp<SkTypeface> MakeFromData(sk_sp<SkData>, int index = 0);
143 sk_sp<SkTypeface> makeClone(const SkFontArguments&) const;
172 static sk_sp<SkTypeface> MakeDeserialize(SkStream*);
[all …]
/third_party/skia/modules/skparagraph/include/
DTypefaceFontProvider.h23 SkTypeface* createTypeface(int index) override;
24 SkTypeface* matchStyle(const SkFontStyle& pattern) override;
28 void appendTypeface(sk_sp<SkTypeface> typeface);
32 SkTArray<sk_sp<SkTypeface>> fStyles;
39 size_t registerTypeface(sk_sp<SkTypeface> typeface);
40 size_t registerTypeface(sk_sp<SkTypeface> typeface, const SkString& alias);
49 SkTypeface* onMatchFamilyStyle(const char[], const SkFontStyle&) const override { in onMatchFamilyStyle()
52 SkTypeface* onMatchFamilyStyleCharacter(const char[], const SkFontStyle&, in onMatchFamilyStyleCharacter()
58 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int) const override { return nullptr; } in onMakeFromData()
59 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int) const override { in onMakeFromStreamIndex()
[all …]
/third_party/skia/tests/
DTypefaceTest.cpp58 sk_sp<SkTypeface> newTypeface(SkTypeface::MakeFromData(sk_ref_sp(data))); in TypefaceStyle_test()
104 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/Em.ttf")); in DEF_TEST()
120 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/7630.otf")); in DEF_TEST()
130 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST()
160 auto test = [&](SkTypeface* typeface, const Variation& expected, int alsoAcceptedAxisTagCount) { in DEF_TEST()
231 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST()
252 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), params); in DEF_TEST()
272 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
277 sk_sp<SkTypeface> clone = typeface->makeClone(SkFontArguments()); in DEF_TEST()
294 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
[all …]
/third_party/skia/tools/fonts/
DToolUtilsFont.cpp22 sk_sp<SkTypeface> planet_typeface() { in planet_typeface()
23 static const sk_sp<SkTypeface> planetTypeface = []() { in planet_typeface()
32 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in planet_typeface()
36 return SkTypeface::MakeFromName("Planet", SkFontStyle()); in planet_typeface()
41 sk_sp<SkTypeface> emoji_typeface() { in emoji_typeface()
42 static const sk_sp<SkTypeface> emojiTypeface = []() { in emoji_typeface()
51 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in emoji_typeface()
55 return SkTypeface::MakeFromName("Emoji", SkFontStyle()); in emoji_typeface()
66 sk_sp<SkTypeface> sample_user_typeface() { in sample_user_typeface()
104 static sk_sp<SkTypeface> create_font(const char* name, SkFontStyle style) { in create_font()
[all …]
DTestFontMgr.cpp31 TypefaceEntry(sk_sp<SkTypeface> typeface, SkFontStyle style, const char* styleName) in TypefaceEntry()
33 sk_sp<SkTypeface> fTypeface;
49 SkTypeface* createTypeface(int index) override { in createTypeface()
53 SkTypeface* matchStyle(const SkFontStyle& pattern) override { in matchStyle()
143 SkTypeface* onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle()
149 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter()
160 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override { return nullptr; } in onMakeFromData()
161 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, in onMakeFromStreamIndex()
165 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, in onMakeFromStreamArgs()
169 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override { in onMakeFromFile()
[all …]
DTestEmptyTypeface.h16 class TestEmptyTypeface : public SkTypeface {
18 static sk_sp<SkTypeface> Make() { return sk_sp<SkTypeface>(new TestEmptyTypeface); } in Make()
21 TestEmptyTypeface() : SkTypeface(SkFontStyle(), true) {} in TestEmptyTypeface()
24 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override { in onMakeClone()
45 class EmptyLocalizedStrings : public SkTypeface::LocalizedStrings {
47 bool next(SkTypeface::LocalizedString*) override { return false; } in next()
51 SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const override { in onCreateFamilyNameIterator()
DRandomScalerContext.h19 class SkRandomTypeface : public SkTypeface {
21 SkRandomTypeface(sk_sp<SkTypeface> proxy, const SkPaint&, bool fakeit);
23 SkTypeface* proxy() const { return fProxy.get(); } in proxy()
33 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override;
42 SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const override;
55 sk_sp<SkTypeface> fProxy;
/third_party/skia/src/ports/skia_ohos/
DSkFontMgr_ohos.h33 virtual SkTypeface* onMatchFamilyStyle(const char familyName[],
35 … virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style,
39 virtual SkTypeface* onMatchFaceStyle(const SkTypeface* typeface,
42 virtual sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData> data, int ttcIndex) const override;
43 virtual sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream,
45 virtual sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream,
47 virtual sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override;
49 …virtual sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const o…
57 sk_sp<SkTypeface> makeTypeface(std::unique_ptr<SkStreamAsset> stream,
59 SkTypeface* findTypeface(const FallbackSetPos& fallbackItem, const SkFontStyle& style,
DSkFontMgr_ohos.cpp91 SkTypeface* SkFontMgr_OHOS::onMatchFamilyStyle(const char familyName[], const SkFontStyle& style) c… in onMatchFamilyStyle()
116 SkTypeface* SkFontMgr_OHOS::onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&… in onMatchFamilyStyleCharacter()
144 SkTypeface* retTp = findTypeface(*item, style, bcp47, bcp47Count, character); in onMatchFamilyStyleCharacter()
158 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in onMatchFamilyStyleCharacter()
182 SkTypeface* SkFontMgr_OHOS::findTypeface(const FallbackSetPos& fallbackItem, const SkFontStyle& sty… in findTypeface()
214 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in findTypeface()
224 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in findTypeface()
278 SkTypeface* SkFontMgr_OHOS::onMatchFaceStyle(const SkTypeface* typeface, const SkFontStyle& style) … in onMatchFaceStyle()
295 sk_sp<SkTypeface> SkFontMgr_OHOS::onMakeFromData(sk_sp<SkData> data, int ttcIndex) const in onMakeFromData()
313 sk_sp<SkTypeface> SkFontMgr_OHOS::onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex()
[all …]
/third_party/skia/src/ports/
DSkFontMgr_FontConfigInterface.cpp61 SkTypeface* createTypeface(int index) override { SkASSERT(false); return nullptr; } in createTypeface()
62 SkTypeface* matchStyle(const SkFontStyle& pattern) override { return nullptr; } in matchStyle()
105 Result(Request* request, sk_sp<SkTypeface> typeface) in Result()
116 sk_sp<SkTypeface> fFace;
125 void add(sk_sp<SkTypeface> face, Request* request) { in add()
129 sk_sp<SkTypeface> findAndRef(Request* request) { in findAndRef()
130 sk_sp<SkTypeface> face; in findAndRef()
133 sk_sp<SkTypeface>* face = static_cast<sk_sp<SkTypeface>*>(context); in findAndRef()
144 static bool find_by_FontIdentity(SkTypeface* cachedTypeface, void* ctx) { in find_by_FontIdentity()
189 SkTypeface* onMatchFamilyStyle(const char requestedFamilyName[], in onMatchFamilyStyle()
[all …]
DSkFontMgr_custom.h22 class SkTypeface; variable
53 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override;
70 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override;
86 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override;
110 SkTypeface* createTypeface(int index) override;
111 SkTypeface* matchStyle(const SkFontStyle& pattern) override;
143 SkTypeface* onMatchFamilyStyle(const char familyName[],
145 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
148 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData> data, int ttcIndex) const override;
149 …sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const overri…
[all …]
DSkFontMgr_fuchsia.cpp203 sk_sp<SkTypeface> CreateTypefaceFromSkStream(std::unique_ptr<SkStreamAsset> stream, in CreateTypefaceFromSkStream()
225 sk_sp<SkTypeface> CreateTypefaceFromSkData(sk_sp<SkData> data, TypefaceId id) { in CreateTypefaceFromSkData()
241 SkTypeface* onMatchFamilyStyle(const char familyName[], const SkFontStyle&) const override;
242 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
245 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override;
246 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>,
248 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>,
250 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override;
251 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
256 sk_sp<SkTypeface> FetchTypeface(const char familyName[], const SkFontStyle& style,
[all …]
DSkFontMgr_custom.cpp52 sk_sp<SkTypeface> SkTypeface_Empty::onMakeClone(const SkFontArguments& args) const { in onMakeClone()
74 sk_sp<SkTypeface> SkTypeface_Stream::onMakeClone(const SkFontArguments& args) const { in onMakeClone()
101 sk_sp<SkTypeface> SkTypeface_File::onMakeClone(const SkFontArguments& args) const { in onMakeClone()
148 SkTypeface* SkFontStyleSet_Custom::createTypeface(int index) { in createTypeface()
153 SkTypeface* SkFontStyleSet_Custom::matchStyle(const SkFontStyle& pattern) { in matchStyle()
173 sk_sp<SkTypeface> tf(set->matchStyle(SkFontStyle(SkFontStyle::kNormal_Weight, in SkFontMgr_Custom()
211 SkTypeface* SkFontMgr_Custom::onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle()
218 SkTypeface* SkFontMgr_Custom::onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter()
226 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromData(sk_sp<SkData> data, int ttcIndex) const { in onMakeFromData()
230 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex()
[all …]
DSkFontMgr_preview.cpp65 SkTypeface* SkFontMgr_Preview::onMatchFamilyStyle(const char familyName[], const SkFontStyle& style… in onMatchFamilyStyle()
71 SkTypeface* SkFontMgr_Preview::onMatchFaceStyle(const SkTypeface* typeface, const SkFontStyle& styl… in onMatchFaceStyle()
113 SkTypeface* SkFontMgr_Preview::onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter()
152 sk_sp<SkTypeface> SkFontMgr_Preview::onMakeFromData(sk_sp<SkData> data, int ttcIndex) const in onMakeFromData()
158 sk_sp<SkTypeface> SkFontMgr_Preview::onMakeFromFile(const char path[], int ttcIndex) const in onMakeFromFile()
164 sk_sp<SkTypeface> SkFontMgr_Preview::onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, i… in onMakeFromStreamIndex()
173 …return sk_sp<SkTypeface>(new SkTypeface_PreviewStream(std::move(data), style, isFixedPitch, name)); in onMakeFromStreamIndex()
176 sk_sp<SkTypeface> SkFontMgr_Preview::onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs()
193 …return sk_sp<SkTypeface>(new SkTypeface_PreviewStream(std::move(data), style, isFixedPitch, name)); in onMakeFromStreamArgs()
196 sk_sp<SkTypeface> SkFontMgr_Preview::onLegacyMakeTypeface(const char familyName[], SkFontStyle styl… in onLegacyMakeTypeface()
[all …]
/third_party/skia/include/ports/
DSkFontMgr_indirect.h41 SkTypeface* onMatchFamilyStyle(const char familyName[],
44 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[],
50 …sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const overri…
51 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream,
53 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override;
54 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override;
55 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
58 SkTypeface* createTypefaceFromFontId(const SkFontIdentity& fontId) const;
66 SkTypeface* fTypeface; // value: weak ref to typeface
/third_party/skia/src/fonts/
DSkFontMgr_indirect.cpp44 SkTypeface* createTypeface(int index) override { in createTypeface()
48 SkTypeface* matchStyle(const SkFontStyle& pattern) override { in matchStyle()
78 SkTypeface* SkFontMgr_Indirect::createTypefaceFromFontId(const SkFontIdentity& id) const { in createTypefaceFromFontId()
85 sk_sp<SkTypeface> dataTypeface; in createTypefaceFromFontId()
123 sk_sp<SkTypeface> typeface(fImpl->makeFromStream(std::move(stream), id.fTtcIndex)); in createTypefaceFromFontId()
137 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle()
143 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter()
153 sk_sp<SkTypeface> SkFontMgr_Indirect::onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamIndex()
158 sk_sp<SkTypeface> SkFontMgr_Indirect::onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, in onMakeFromStreamArgs()
163 sk_sp<SkTypeface> SkFontMgr_Indirect::onMakeFromFile(const char path[], int ttcIndex) const { in onMakeFromFile()
[all …]
/third_party/skia/src/pdf/
DSkPDFFont.h39 SkTypeface* typeface() const { return fTypeface.get(); } in typeface()
47 static void GetType1GlyphNames(const SkTypeface&, SkString*);
91 SkTypeface* typeface);
97 static const SkAdvancedTypefaceMetrics* GetMetrics(const SkTypeface* typeface,
100 static const std::vector<SkUnichar>& GetUnicodeMap(const SkTypeface* typeface,
114 static bool CanEmbedTypeface(SkTypeface*, SkPDFDocument*);
119 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface()
122 sk_sp<SkTypeface> fTypeface;
127 SkPDFFont(sk_sp<SkTypeface>,
/third_party/skia/include/utils/
DSkOrderedFontMgr.h34 SkTypeface* onMatchFamilyStyle(const char familyName[], const SkFontStyle&) const override;
35 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
40 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override;
41 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>,
43 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>,
45 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override;
47 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
/third_party/skia/modules/skparagraph/src/
DFontCollection.cpp80 std::vector<sk_sp<SkTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNam… in findTypefaces()
84 std::vector<sk_sp<SkTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNam… in findTypefaces()
92 std::vector<sk_sp<SkTypeface>> typefaces; in findTypefaces()
94 sk_sp<SkTypeface> match = matchTypeface(familyName, fontStyle); in findTypefaces()
104 sk_sp<SkTypeface> match; in findTypefaces()
128 sk_sp<SkTypeface> FontCollection::matchTypeface(const SkString& familyName, SkFontStyle fontStyle) { in matchTypeface()
135 sk_sp<SkTypeface> match(set->matchStyle(fontStyle)); in matchTypeface()
145 sk_sp<SkTypeface> FontCollection::defaultFallback(SkUnichar unicode, SkFontStyle fontStyle, const S… in defaultFallback()
152 sk_sp<SkTypeface> typeface(manager->matchFamilyStyleCharacter( in defaultFallback()
161 sk_sp<SkTypeface> FontCollection::defaultFallback() { in defaultFallback()
[all …]
/third_party/skia/src/utils/
DSkOrderedFontMgr.cpp56 SkTypeface* SkOrderedFontMgr::onMatchFamilyStyle(const char family[], in onMatchFamilyStyle()
66 SkTypeface* SkOrderedFontMgr::onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter()
80 sk_sp<SkTypeface> SkOrderedFontMgr::onMakeFromData(sk_sp<SkData>, int ttcIndex) const { in onMakeFromData()
84 sk_sp<SkTypeface> SkOrderedFontMgr::onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, in onMakeFromStreamIndex()
89 sk_sp<SkTypeface> SkOrderedFontMgr::onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, in onMakeFromStreamArgs()
94 sk_sp<SkTypeface> SkOrderedFontMgr::onMakeFromFile(const char path[], int ttcIndex) const { in onMakeFromFile()
98 sk_sp<SkTypeface> SkOrderedFontMgr::onLegacyMakeTypeface(const char family[], SkFontStyle) const { in onLegacyMakeTypeface()
/third_party/skia/src/sfnt/
DSkOTUtils.h44 class LocalizedStrings_NameTable : public SkTypeface::LocalizedStrings {
59 const SkTypeface& typeface,
66 static sk_sp<LocalizedStrings_NameTable> MakeForFamilyNames(const SkTypeface& typeface);
68 bool next(SkTypeface::LocalizedString* localizedString) override;
80 class LocalizedStrings_SingleName : public SkTypeface::LocalizedStrings {
86 bool next(SkTypeface::LocalizedString* localizedString) override { in next()

123456789