Home
last modified time | relevance | path

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

12345678910>>...14

/external/skqp/src/core/
DSkTypeface.cpp22 SkTypeface::SkTypeface(const SkFontStyle& style, bool isFixedPitch) in SkTypeface() function in SkTypeface
25 SkTypeface::~SkTypeface() { } in ~SkTypeface()
28 extern void WhitelistSerializeTypeface(const SkTypeface*, SkWStream* );
34 void (*gSerializeTypefaceDelegate)(const SkTypeface*, SkWStream* ) = SK_TYPEFACE_DELEGATE;
35 sk_sp<SkTypeface> (*gDeserializeTypefaceDelegate)(SkStream* ) = nullptr;
41 class SkEmptyTypeface : public SkTypeface {
43 static sk_sp<SkTypeface> Make() { return sk_sp<SkTypeface>(new SkEmptyTypeface); } in Make()
45 SkEmptyTypeface() : SkTypeface(SkFontStyle(), true) { } in SkEmptyTypeface()
48 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override { in onMakeClone()
69 class EmptyLocalizedStrings : public SkTypeface::LocalizedStrings {
[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()
62 SkTypeface* onMatchFaceStyle(const SkTypeface*, const SkFontStyle&) const override { in onMatchFaceStyle() argument
66 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int) const override { in onMakeFromData()
69 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int) const override { in onMakeFromStreamIndex()
72 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, in onMakeFromStreamArgs()
76 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData>) const override { in onMakeFromFontData()
[all …]
DSkTypefacePriv.h19 static inline sk_sp<SkTypeface> ref_or_default(SkTypeface* face) { in ref_or_default()
20 return face ? sk_ref_sp(face) : SkTypeface::MakeDefault(); in ref_or_default()
27 class SkAutoResolveDefaultTypeface : public sk_sp<SkTypeface> {
29 SkAutoResolveDefaultTypeface() : INHERITED(SkTypeface::MakeDefault()) {} in SkAutoResolveDefaultTypeface()
31 SkAutoResolveDefaultTypeface(SkTypeface* face) in SkAutoResolveDefaultTypeface()
35 typedef sk_sp<SkTypeface> INHERITED;
/external/skia/src/core/
DSkTypeface.cpp23 SkTypeface::SkTypeface(const SkFontStyle& style, bool isFixedPitch) in SkTypeface() function in SkTypeface
26 SkTypeface::~SkTypeface() { } in ~SkTypeface()
32 class SkEmptyTypeface : public SkTypeface {
34 static sk_sp<SkTypeface> Make() { return sk_sp<SkTypeface>(new SkEmptyTypeface); } in Make()
36 SkEmptyTypeface() : SkTypeface(SkFontStyle(), true) { } in SkEmptyTypeface()
39 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override { in onMakeClone()
60 class EmptyLocalizedStrings : public SkTypeface::LocalizedStrings {
62 bool next(SkTypeface::LocalizedString*) override { return false; } in next()
70 SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const override { in onCreateFamilyNameIterator()
91 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> onMakeFromFontData(std::unique_ptr<SkFontData>) const override { in onMakeFromFontData()
76 sk_sp<SkTypeface> onMakeFromFile(const char[], int) const override { in onMakeFromFile()
[all …]
/external/skqp/include/core/
DSkFontMgr.h20 class SkTypeface; variable
26 virtual SkTypeface* createTypeface(int index) = 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;
97 sk_sp<SkTypeface> makeFromData(sk_sp<SkData>, int ttcIndex = 0) const;
104 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, int ttcIndex = 0) const;
107 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) 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);
140 static sk_sp<SkTypeface> MakeFromFontData(std::unique_ptr<SkFontData>);
148 sk_sp<SkTypeface> makeClone(const SkFontArguments&) const;
[all …]
/external/skia/include/core/
DSkFontMgr.h20 class SkTypeface; variable
26 virtual SkTypeface* createTypeface(int index) = 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&,
95 sk_sp<SkTypeface> makeFromData(sk_sp<SkData>, int ttcIndex = 0) const;
102 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, int ttcIndex = 0) const;
105 sk_sp<SkTypeface> makeFromStream(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) const;
112 sk_sp<SkTypeface> makeFromFontData(std::unique_ptr<SkFontData>) 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 …]
/external/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);
31 SkTArray<sk_sp<SkTypeface>> fStyles;
38 size_t registerTypeface(sk_sp<SkTypeface> typeface);
39 size_t registerTypeface(sk_sp<SkTypeface> typeface, const SkString& alias);
48 SkTypeface* onMatchFamilyStyle(const char[], const SkFontStyle&) const override { in onMatchFamilyStyle()
51 SkTypeface* onMatchFamilyStyleCharacter(const char[], const SkFontStyle&, in onMatchFamilyStyleCharacter()
57 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int) const override { return nullptr; } in onMakeFromData()
58 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int) const override { in onMakeFromStreamIndex()
[all …]
/external/skqp/src/utils/
DSkWhitelistTypefaces.cpp20 extern void WhitelistSerializeTypeface(const SkTypeface*, SkWStream* );
21 sk_sp<SkTypeface> WhitelistDeserializeTypeface(SkStream* );
35 sk_sp<SkTypeface> defaultFace(SkTypeface::MakeFromName(nullptr, style)); in font_name_is_local()
36 sk_sp<SkTypeface> foundFace(SkTypeface::MakeFromName(fontName, style)); in font_name_is_local()
40 static int whitelist_name_index(const SkTypeface* tf) { in whitelist_name_index()
43 sk_sp<SkTypeface::LocalizedStrings> nameIter = in whitelist_name_index()
45 SkTypeface::LocalizedString familyNameLocalized; in whitelist_name_index()
56 sk_sp<SkTypeface::LocalizedStrings> debugIter = in whitelist_name_index()
65 static uint32_t compute_checksum(const SkTypeface* tf) { in compute_checksum()
107 static bool is_local(const SkTypeface* tf) { in is_local()
[all …]
/external/skqp/tools/fonts/
DSkTestFontMgr.cpp30 TypefaceEntry(sk_sp<SkTypeface> typeface, SkFontStyle style, const char* styleName) in TypefaceEntry()
35 sk_sp<SkTypeface> fTypeface;
47 SkTypeface* createTypeface(int index) override { in createTypeface()
51 SkTypeface* matchStyle(const SkFontStyle& pattern) override { in matchStyle()
124 SkTypeface* onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle()
130 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter()
140 SkTypeface* onMatchFaceStyle(const SkTypeface* tf, in onMatchFaceStyle()
147 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override { in onMakeFromData()
150 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, in onMakeFromStreamIndex()
154 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, in onMakeFromStreamArgs()
[all …]
/external/skqp/src/ports/
DSkFontMgr_custom.h22 class SkTypeface; variable
53 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override;
69 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override;
85 sk_sp<SkTypeface> onMakeClone(const SkFontArguments& args) const override;
108 SkTypeface* createTypeface(int index) override;
109 SkTypeface* matchStyle(const SkFontStyle& pattern) override;
141 SkTypeface* onMatchFamilyStyle(const char familyName[],
143 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
146 SkTypeface* onMatchFaceStyle(const SkTypeface* familyMember,
148 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData> data, int ttcIndex) const override;
[all …]
DSkFontMgr_FontConfigInterface.cpp62 SkTypeface* createTypeface(int index) override { SkASSERT(false); return nullptr; } in createTypeface()
63 SkTypeface* matchStyle(const SkFontStyle& pattern) override { return nullptr; } in matchStyle()
106 Result(Request* request, SkTypeface* typeface) in Result()
118 sk_sp<SkTypeface> fFace;
127 void add(SkTypeface* face, Request* request) { in add()
131 SkTypeface* findAndRef(Request* request) { in findAndRef()
132 SkTypeface* face = nullptr; in findAndRef()
135 SkTypeface** face = static_cast<SkTypeface**>(context); in findAndRef()
146 static bool find_by_FontIdentity(SkTypeface* cachedTypeface, void* ctx) { in find_by_FontIdentity()
194 SkTypeface* onMatchFamilyStyle(const char requestedFamilyName[], in onMatchFamilyStyle()
[all …]
DSkFontMgr_fuchsia.cpp127 sk_sp<SkTypeface> CreateTypefaceFromSkStream(std::unique_ptr<SkStreamAsset> stream, in CreateTypefaceFromSkStream()
149 sk_sp<SkTypeface> CreateTypefaceFromSkData(sk_sp<SkData> data, TypefaceId id) { in CreateTypefaceFromSkData()
165 SkTypeface* onMatchFamilyStyle(const char familyName[], const SkFontStyle&) const override;
166 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
169 SkTypeface* onMatchFaceStyle(const SkTypeface*, const SkFontStyle&) const override;
170 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override;
171 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>,
173 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>,
175 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override;
176 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
[all …]
DSkFontMgr_custom.cpp53 sk_sp<SkTypeface> SkTypeface_Empty::onMakeClone(const SkFontArguments& args) const { in onMakeClone()
73 sk_sp<SkTypeface> SkTypeface_Stream::onMakeClone(const SkFontArguments& args) const { in onMakeClone()
100 sk_sp<SkTypeface> SkTypeface_File::onMakeClone(const SkFontArguments& args) const { in onMakeClone()
138 SkTypeface* SkFontStyleSet_Custom::createTypeface(int index) { in createTypeface()
143 SkTypeface* SkFontStyleSet_Custom::matchStyle(const SkFontStyle& pattern) { in matchStyle()
163 sk_sp<SkTypeface> tf(set->matchStyle(SkFontStyle(SkFontStyle::kNormal_Weight, in SkFontMgr_Custom()
201 SkTypeface* SkFontMgr_Custom::onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle()
208 SkTypeface* SkFontMgr_Custom::onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter()
216 SkTypeface* SkFontMgr_Custom::onMatchFaceStyle(const SkTypeface* familyMember, in onMatchFaceStyle()
229 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromData(sk_sp<SkData> data, int ttcIndex) const { in onMakeFromData()
[all …]
/external/skia/tools/fonts/
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> onMakeFromFontData(std::unique_ptr<SkFontData>) const override { in onMakeFromFontData()
[all …]
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 …]
/external/skqp/tests/
DTypefaceTest.cpp54 sk_sp<SkTypeface> newTypeface(SkTypeface::MakeFromData(sk_ref_sp(data))); in TypefaceStyle_test()
100 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/7630.otf")); in DEF_TEST()
110 sk_sp<SkTypeface> typeface2 = fm->makeFromStream(std::move(stream), fontIndex); in DEF_TEST()
156 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
192 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
220 sk_sp<SkTypeface> t1(SkTypeface::MakeFromName(nullptr, SkFontStyle())); in DEF_TEST()
221 sk_sp<SkTypeface> t2(SkTypeface::MakeDefault()); in DEF_TEST()
223 REPORTER_ASSERT(reporter, SkTypeface::Equal(t1.get(), t2.get())); in DEF_TEST()
224 REPORTER_ASSERT(reporter, SkTypeface::Equal(nullptr, t1.get())); in DEF_TEST()
225 REPORTER_ASSERT(reporter, SkTypeface::Equal(nullptr, t2.get())); in DEF_TEST()
[all …]
/external/skia/src/ports/
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_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 …]
/external/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()
182 auto test = [&](SkTypeface* typeface, const Variation& expected, int alsoAcceptedAxisTagCount) { in DEF_TEST()
253 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST()
274 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), params); in DEF_TEST()
294 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
299 sk_sp<SkTypeface> clone = typeface->makeClone(SkFontArguments()); in DEF_TEST()
316 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST()
[all …]
/external/skqp/include/ports/
DSkFontMgr_indirect.h41 SkTypeface* onMatchFamilyStyle(const char familyName[],
44 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[],
50 SkTypeface* onMatchFaceStyle(const SkTypeface* familyMember,
53 …sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const overri…
54 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override;
55 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override;
56 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
59 SkTypeface* createTypefaceFromFontId(const SkFontIdentity& fontId) const;
67 SkTypeface* fTypeface; // value: weak ref to typeface
/external/skqp/src/pdf/
DSkPDFFont.h34 SkTypeface* typeface() const { return fTypeface.get(); } in typeface()
42 static void GetType1GlyphNames(const SkTypeface&, SkString*);
49 static SkExclusiveStrikePtr MakeVectorCache(SkTypeface*, int* sizeOut);
88 SkTypeface* typeface,
95 static const SkAdvancedTypefaceMetrics* GetMetrics(const SkTypeface* typeface,
98 static const std::vector<SkUnichar>& GetUnicodeMap(const SkTypeface* typeface,
107 static bool CanEmbedTypeface(SkTypeface*, SkPDFDocument*);
112 sk_sp<SkTypeface> refTypeface() const { return fTypeface; } in refTypeface()
115 sk_sp<SkTypeface> fTypeface;
120 SkPDFFont(sk_sp<SkTypeface>,
/external/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> onMakeFromFontData(std::unique_ptr<SkFontData>) const override;
46 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override;
48 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;

12345678910>>...14