Home
last modified time | relevance | path

Searched refs:SkFontMgr (Results 1 – 25 of 203) sorted by relevance

123456789

/third_party/skia/src/ports/
DSkFontMgr_custom_directory_factory.cpp22 std::string SkFontMgr::runtimeOS = "OHOS";
23 SK_API sk_sp<SkFontMgr> SkFontMgr_New_OHOS2(const char *path);
24 sk_sp<SkFontMgr> SkFontMgr::Factory() in Factory()
26 if (SkFontMgr::runtimeOS == "OHOS") { in Factory()
29 if (SkFontMgr::runtimeOS == "OHOS_Container") { in Factory()
35 std::string SkFontMgr::runtimeOS = "OHOS";
36 SK_API sk_sp<SkFontMgr> SkFontMgr_New_OHOS(const char *path);
37 sk_sp<SkFontMgr> SkFontMgr::Factory() in Factory()
39 if (SkFontMgr::runtimeOS == "OHOS") { in Factory()
46 sk_sp<SkFontMgr> SkFontMgr::Factory() in Factory()
DSkFontMgr_win_dw_factory.cpp15 std::string SkFontMgr::runtimeOS = "OHOS";
16 SK_API sk_sp<SkFontMgr> SkFontMgr_New_OHOS(const char *path);
18 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
19 if (SkFontMgr::runtimeOS == "OHOS") { in Factory()
22 if (SkFontMgr::runtimeOS == "OHOS_Container") { in Factory()
DSkFontMgr_mac_ct_factory.cpp15 std::string SkFontMgr::runtimeOS = "OHOS";
16 SK_API sk_sp<SkFontMgr> SkFontMgr_New_OHOS(const char *path);
18 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
20 if (SkFontMgr::runtimeOS == "OHOS") { in Factory()
23 if (SkFontMgr::runtimeOS == "OHOS_Container") { in Factory()
/third_party/flutter/skia/src/core/
DSkFontMgr.cpp36 class SkEmptyFontMgr : public SkFontMgr {
94 int SkFontMgr::countFamilies() const { in countFamilies()
98 void SkFontMgr::getFamilyName(int index, SkString* familyName) const { in getFamilyName()
102 SkFontStyleSet* SkFontMgr::createStyleSet(int index) const { in createStyleSet()
106 SkFontStyleSet* SkFontMgr::matchFamily(const char familyName[]) const { in matchFamily()
110 SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], in matchFamilyStyle()
115 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, in matchFamilyStyleCharacter()
121 SkTypeface* SkFontMgr::matchFaceStyle(const SkTypeface* face, in matchFaceStyle()
126 sk_sp<SkTypeface> SkFontMgr::makeFromData(sk_sp<SkData> data, int ttcIndex) const { in makeFromData()
133 sk_sp<SkTypeface> SkFontMgr::makeFromStream(std::unique_ptr<SkStreamAsset> stream, in makeFromStream()
[all …]
/third_party/skia/modules/skparagraph/include/
DFontCollection.h24 void setAssetFontManager(sk_sp<SkFontMgr> fontManager);
25 void setDynamicFontManager(sk_sp<SkFontMgr> fontManager);
26 void setTestFontManager(sk_sp<SkFontMgr> fontManager);
27 void setDefaultFontManager(sk_sp<SkFontMgr> fontManager);
28 void setDefaultFontManager(sk_sp<SkFontMgr> fontManager, const char defaultFamilyName[]);
29 …void setDefaultFontManager(sk_sp<SkFontMgr> fontManager, const std::vector<SkString>& defaultFamil…
31 sk_sp<SkFontMgr> getFallbackManager() const { return fDefaultFontManager; } in getFallbackManager()
47 std::vector<sk_sp<SkFontMgr>> getFontManagerOrder() const;
69 sk_sp<SkFontMgr> fDefaultFontManager;
70 sk_sp<SkFontMgr> fAssetFontManager;
[all …]
/third_party/flutter/skia/modules/skparagraph/include/
DFontCollection.h26 void setAssetFontManager(sk_sp<SkFontMgr> fontManager);
27 void setDynamicFontManager(sk_sp<SkFontMgr> fontManager);
28 void setTestFontManager(sk_sp<SkFontMgr> fontManager);
29 void setDefaultFontManager(sk_sp<SkFontMgr> fontManager);
30 void setDefaultFontManager(sk_sp<SkFontMgr> fontManager, const char defaultFamilyName[]);
32 sk_sp<SkFontMgr> geFallbackManager() const { return fDefaultFontManager; } in geFallbackManager()
44 std::vector<sk_sp<SkFontMgr>> getFontManagerOrder() const;
65 sk_sp<SkFontMgr> fDefaultFontManager;
66 sk_sp<SkFontMgr> fAssetFontManager;
67 sk_sp<SkFontMgr> fDynamicFontManager;
[all …]
/third_party/flutter/txt/src/txt/
Dfont_collection.h51 void SetDefaultFontManager(sk_sp<SkFontMgr> font_manager);
52 void SetAssetFontManager(sk_sp<SkFontMgr> font_manager);
53 void SetDynamicFontManager(sk_sp<SkFontMgr> font_manager);
54 void SetTestFontManager(sk_sp<SkFontMgr> font_manager);
108 sk_sp<SkFontMgr> default_font_manager_;
109 sk_sp<SkFontMgr> asset_font_manager_;
110 sk_sp<SkFontMgr> dynamic_font_manager_;
111 sk_sp<SkFontMgr> test_font_manager_;
143 std::vector<sk_sp<SkFontMgr>> GetFontManagerOrder() const;
149 const sk_sp<SkFontMgr>& manager,
[all …]
Dplatform.cc15 if (SkFontMgr::runtimeOS == "OHOS") { in GetDefaultFontFamilies()
18 if (SkFontMgr::runtimeOS == "OHOS_Container") { in GetDefaultFontFamilies()
29 sk_sp<SkFontMgr> GetDefaultFontManager() { in GetDefaultFontManager()
30 return SkFontMgr::RefDefault(); in GetDefaultFontManager()
Dplatform_linux.cc23 if (SkFontMgr::runtimeOS == "OHOS") { in GetDefaultFontFamilies()
26 if (SkFontMgr::runtimeOS == "OHOS_Container") { in GetDefaultFontFamilies()
36 sk_sp<SkFontMgr> GetDefaultFontManager() in GetDefaultFontManager()
39 return SkFontMgr::RefDefault(); in GetDefaultFontManager()
Dplatform_mac.mm19 #include "include/core/SkFontMgr.h"
26 if (SkFontMgr::runtimeOS == "OHOS") {
29 if (SkFontMgr::runtimeOS == "OHOS_Container") {
48 sk_sp<SkFontMgr> GetDefaultFontManager() {
49 return SkFontMgr::RefDefault();
Dfont_collection.cc122 void FontCollection::SetDefaultFontManager(sk_sp<SkFontMgr> font_manager) { in SetDefaultFontManager()
131 void FontCollection::SetAssetFontManager(sk_sp<SkFontMgr> font_manager) { in SetAssetFontManager()
139 void FontCollection::SetDynamicFontManager(sk_sp<SkFontMgr> font_manager) { in SetDynamicFontManager()
147 void FontCollection::SetTestFontManager(sk_sp<SkFontMgr> font_manager) { in SetTestFontManager()
155 sk_sp<SkFontMgr> FontCollection::GetDefaultFontManagerSafely() const { in GetDefaultFontManagerSafely()
161 std::vector<sk_sp<SkFontMgr>> FontCollection::GetFontManagerOrder() const { in GetFontManagerOrder()
162 std::vector<sk_sp<SkFontMgr>> order; in GetFontManagerOrder()
263 for (sk_sp<SkFontMgr>& manager : GetFontManagerOrder()) { in FindFontFamilyInManagers()
311 const sk_sp<SkFontMgr>& manager, in CreateMinikinFontFamily()
378 for (const sk_sp<SkFontMgr>& manager : GetFontManagerOrder()) { in DoMatchFallbackFont()
[all …]
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dfont_collection.h50 void SetDefaultFontManager(sk_sp<SkFontMgr> font_manager);
51 void SetAssetFontManager(sk_sp<SkFontMgr> font_manager);
52 void SetDynamicFontManager(sk_sp<SkFontMgr> font_manager);
53 void SetTestFontManager(sk_sp<SkFontMgr> font_manager);
107 sk_sp<SkFontMgr> default_font_manager_;
108 sk_sp<SkFontMgr> asset_font_manager_;
109 sk_sp<SkFontMgr> dynamic_font_manager_;
110 sk_sp<SkFontMgr> test_font_manager_;
137 std::vector<sk_sp<SkFontMgr>> GetFontManagerOrder() const;
143 const sk_sp<SkFontMgr>& manager,
[all …]
Dplatform.cc15 if (SkFontMgr::runtimeOS == "OHOS") { in GetDefaultFontFamily()
18 if (SkFontMgr::runtimeOS == "OHOS_Container") { in GetDefaultFontFamily()
29 sk_sp<SkFontMgr> GetDefaultFontManager() { in GetDefaultFontManager()
30 return SkFontMgr::RefDefault(); in GetDefaultFontManager()
Dplatform_linux.cc23 if (SkFontMgr::runtimeOS == "OHOS") { in GetDefaultFontFamily()
26 if (SkFontMgr::runtimeOS == "OHOS_Container") { in GetDefaultFontFamily()
38 sk_sp<SkFontMgr> GetDefaultFontManager() in GetDefaultFontManager()
41 return SkFontMgr::RefDefault(); in GetDefaultFontManager()
Dplatform_mac.mm18 #include "include/core/SkFontMgr.h"
25 if (SkFontMgr::runtimeOS == "OHOS") {
28 if (SkFontMgr::runtimeOS == "OHOS_Container") {
48 sk_sp<SkFontMgr> GetDefaultFontManager() {
49 return SkFontMgr::RefDefault();
Dfont_collection.cc112 void FontCollection::SetDefaultFontManager(sk_sp<SkFontMgr> font_manager) { in SetDefaultFontManager()
117 void FontCollection::SetAssetFontManager(sk_sp<SkFontMgr> font_manager) { in SetAssetFontManager()
121 void FontCollection::SetDynamicFontManager(sk_sp<SkFontMgr> font_manager) { in SetDynamicFontManager()
125 void FontCollection::SetTestFontManager(sk_sp<SkFontMgr> font_manager) { in SetTestFontManager()
129 sk_sp<SkFontMgr> FontCollection::GetDefaultFontManagerSafely() const { in GetDefaultFontManagerSafely()
135 std::vector<sk_sp<SkFontMgr>> FontCollection::GetFontManagerOrder() const { in GetFontManagerOrder()
136 std::vector<sk_sp<SkFontMgr>> order; in GetFontManagerOrder()
229 for (sk_sp<SkFontMgr>& manager : GetFontManagerOrder()) { in FindFontFamilyInManagers()
240 const sk_sp<SkFontMgr>& manager, in CreateMinikinFontFamily()
310 for (const sk_sp<SkFontMgr>& manager : GetFontManagerOrder()) { in DoMatchFallbackFont()
[all …]
/third_party/skia/src/core/
DSkFontMgr.cpp36 class SkEmptyFontMgr : public SkFontMgr {
88 int SkFontMgr::countFamilies() const { in countFamilies()
92 void SkFontMgr::getFamilyName(int index, SkString* familyName) const { in getFamilyName()
96 SkFontStyleSet* SkFontMgr::createStyleSet(int index) const { in createStyleSet()
100 SkFontStyleSet* SkFontMgr::matchFamily(const char familyName[]) const { in matchFamily()
104 SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], in matchFamilyStyle()
109 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, in matchFamilyStyleCharacter()
115 sk_sp<SkTypeface> SkFontMgr::makeFromData(sk_sp<SkData> data, int ttcIndex) const { in makeFromData()
122 sk_sp<SkTypeface> SkFontMgr::makeFromStream(std::unique_ptr<SkStreamAsset> stream, in makeFromStream()
130 sk_sp<SkTypeface> SkFontMgr::makeFromStream(std::unique_ptr<SkStreamAsset> stream, in makeFromStream()
[all …]
/third_party/flutter/skia/src/ports/
DSkFontMgr_custom_directory_factory.cpp17 std::string SkFontMgr::runtimeOS = "OHOS";
18 SK_API sk_sp<SkFontMgr> SkFontMgr_New_OHOS(const char *path);
19 sk_sp<SkFontMgr> SkFontMgr::Factory() in Factory()
21 if (SkFontMgr::runtimeOS == "OHOS") { in Factory()
24 if (SkFontMgr::runtimeOS == "OHOS_Container") { in Factory()
30 sk_sp<SkFontMgr> SkFontMgr::Factory() in Factory()
DSkFontMgr_win_factory.cpp16 std::string SkFontMgr::runtimeOS = "OHOS";
17 SK_API sk_sp<SkFontMgr> SkFontMgr_New_OHOS(const char *path);
19 sk_sp<SkFontMgr> SkFontMgr::Factory() in Factory()
21 if (SkFontMgr::runtimeOS == "OHOS") { in Factory()
24 if (SkFontMgr::runtimeOS == "OHOS_Container") { in Factory()
/third_party/skia/include/ports/
DSkTypeface_win.h49 class SkFontMgr; variable
55 SK_API sk_sp<SkFontMgr> SkFontMgr_New_GDI();
56 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL,
58 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory,
68 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWriteRenderer(sk_sp<SkRemotableFontMgr>);
/third_party/flutter/skia/include/ports/
DSkTypeface_win.h49 class SkFontMgr; variable
55 SK_API sk_sp<SkFontMgr> SkFontMgr_New_GDI();
56 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL,
58 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory,
68 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWriteRenderer(sk_sp<SkRemotableFontMgr>);
/third_party/skia/modules/skparagraph/src/
DFontCollection.cpp31 void FontCollection::setAssetFontManager(sk_sp<SkFontMgr> font_manager) { in setAssetFontManager()
35 void FontCollection::setDynamicFontManager(sk_sp<SkFontMgr> font_manager) { in setDynamicFontManager()
39 void FontCollection::setTestFontManager(sk_sp<SkFontMgr> font_manager) { in setTestFontManager()
43 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager, in setDefaultFontManager()
49 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager, in setDefaultFontManager()
55 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager) { in setDefaultFontManager()
60 std::vector<sk_sp<SkFontMgr>> FontCollection::getFontManagerOrder() const { in getFontManagerOrder()
61 std::vector<sk_sp<SkFontMgr>> order; in getFontManagerOrder()
/third_party/flutter/skia/modules/skparagraph/src/
DFontCollection.cpp28 void FontCollection::setAssetFontManager(sk_sp<SkFontMgr> font_manager) { in setAssetFontManager()
32 void FontCollection::setDynamicFontManager(sk_sp<SkFontMgr> font_manager) { in setDynamicFontManager()
36 void FontCollection::setTestFontManager(sk_sp<SkFontMgr> font_manager) { in setTestFontManager()
40 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager, in setDefaultFontManager()
46 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager) { in setDefaultFontManager()
51 std::vector<sk_sp<SkFontMgr>> FontCollection::getFontManagerOrder() const { in getFontManagerOrder()
52 std::vector<sk_sp<SkFontMgr>> order; in getFontManagerOrder()
/third_party/skia/modules/svg/include/
DSkSVGDOM.h31 Builder& setFontManager(sk_sp<SkFontMgr>);
42 sk_sp<SkFontMgr> fFontMgr;
91 SkSVGDOM(sk_sp<SkSVGSVG>, sk_sp<SkFontMgr>, sk_sp<skresources::ResourceProvider>,
95 const sk_sp<SkFontMgr> fFontMgr;
/third_party/skia/src/ports/skia_ohos/
DSkFontMgr_ohos_factory.cpp7 SK_API sk_sp<SkFontMgr> SkFontMgr_New_OHOS(const char* path);
12 sk_sp<SkFontMgr> SkFontMgr::Factory() in Factory()

123456789