Home
last modified time | relevance | path

Searched refs:FontMgr (Results 1 - 17 of 17) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/
H A Dfont_mgr_test.cpp57 std::shared_ptr<FontMgr> FontMgr = FontMgr::CreateDynamicFontMgr(); in HWTEST_F() local
59 Typeface* typeface = FontMgr->LoadDynamicFont("EmptyFont", emptyFontData.data(), emptyFontData.size()); in HWTEST_F()
72 std::shared_ptr<FontMgr> FontMgr = FontMgr::CreateDefaultFontMgr(); in HWTEST_F() local
77 Typeface* typeface = FontMgr->MatchFamilyStyleCharacter("serif", fontStyle, bcp47, bcp47Count, character); in HWTEST_F()
89 std::shared_ptr<FontMgr> FontMgr in HWTEST_F() local
103 std::shared_ptr<FontMgr> FontMgr = FontMgr::CreateDefaultFontMgr(); HWTEST_F() local
116 std::shared_ptr<FontMgr> FontMgr = FontMgr::CreateDefaultFontMgr(); HWTEST_F() local
131 std::shared_ptr<FontMgr> FontMgr = FontMgr::CreateDefaultFontMgr(); HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/
H A Dfont_mgr.cpp24 FontMgr::FontMgr(std::shared_ptr<FontMgrImpl> fontMgrImpl) noexcept : fontMgrImpl_(fontMgrImpl) {} in fontMgrImpl_()
26 std::shared_ptr<FontMgr> FontMgr::CreateDefaultFontMgr() in CreateDefaultFontMgr()
28 return std::make_shared<FontMgr>(ImplFactory::CreateDefaultFontMgrImpl()); in CreateDefaultFontMgr()
32 std::shared_ptr<FontMgr> FontMgr::CreateDynamicFontMgr() in CreateDynamicFontMgr()
34 return std::make_shared<FontMgr>(ImplFactory::CreateDynamicFontMgrImpl()); in CreateDynamicFontMgr()
37 Typeface* FontMgr::LoadDynamicFont(const std::string& familyName, const uint8_t* data, size_t dataLength) in LoadDynamicFont()
45 Typeface* FontMgr
[all...]
H A Dfont.cpp202 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); in GetFallbackFont()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontmgr_fuzzer/
H A Dfontmgr_fuzzer.cpp43 std::shared_ptr<FontMgr> FontMgr = FontMgr::CreateDefaultFontMgr(); in FontMgrFuzzTest001() local
55 FontMgr->GetFamilyName(index, str); in FontMgrFuzzTest001()
74 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); in FontMgrFuzzTest002()
91 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); in FontMgrFuzzTest003()
137 std::shared_ptr<FontMgr> fontMgr = FontMgr in FontMgrFuzzTest004()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/
H A Dfont_mgr.h44 class DRAWING_API FontMgr { class
46 explicit FontMgr(std::shared_ptr<FontMgrImpl> fontMgrImpl) noexcept;
47 virtual ~FontMgr() = default;
53 static std::shared_ptr<FontMgr> CreateDefaultFontMgr();
60 static std::shared_ptr<FontMgr> CreateDynamicFontMgr();
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_font_mgr.cpp32 static std::unordered_map<void*, std::shared_ptr<FontMgr>> g_fontMgrMap;
35 static FontMgr* CastToFontMgr(OH_Drawing_FontMgr* drawingFontMgr) in CastToFontMgr()
40 FontMgr* fontMgr = reinterpret_cast<FontMgr*>(drawingFontMgr); in CastToFontMgr()
50 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDefaultFontMgr(); in OH_Drawing_FontMgrCreate()
67 FontMgr* fontMgr = CastToFontMgr(drawingFontMgr); in OH_Drawing_FontMgrGetFamilyCount()
95 FontMgr* fontMgr = CastToFontMgr(drawingFontMgr); in OH_Drawing_FontMgrGetFamilyName()
119 FontMgr* fontMgr = CastToFontMgr(drawingFontMgr); in OH_Drawing_FontMgrCreateFontStyleSet()
147 FontMgr* fontMg in OH_Drawing_FontMgrMatchFamily()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontstyleset_fuzzer/
H A Dfontstyleset_fuzzer.cpp44 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); in FontStyleSetFuzzTest001()
78 std::shared_ptr<FontMgr> fontMgr = FontMgr::CreateDynamicFontMgr(); in FontStyleSetFuzzTest002()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dplatform.cpp34 std::shared_ptr<Drawing::FontMgr> GetDefaultFontManager() in GetDefaultFontManager()
36 return Drawing::FontMgr::CreateDefaultFontMgr(); in GetDefaultFontManager()
H A Dplatform.h31 std::shared_ptr<Drawing::FontMgr> GetDefaultFontManager();
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dfont_collection.h44 std::shared_ptr<Drawing::FontMgr> GetFontMgr() override;
50 std::shared_ptr<Drawing::FontMgr> dfmanager_ = nullptr;
H A Dfont_collection.cpp39 : fontCollection_(fontCollection), dfmanager_(Drawing::FontMgr::CreateDynamicFontMgr()) in FontCollection()
76 std::shared_ptr<Drawing::FontMgr> FontCollection::GetFontMgr() in GetFontMgr()
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Dfont_collection_test.cpp42 std::shared_ptr<Drawing::FontMgr> fontMgr = fontCollection->GetFontMgr(); in HWTEST_F()
76 std::shared_ptr<Drawing::FontMgr> fontMgr = fontCollection->GetFontMgr(); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/
H A Dfont_collection_test.cpp64 fontCollection.SetDynamicFontManager(OHOS::Rosen::Drawing::FontMgr::CreateDynamicFontMgr()); in HWTEST_F()
92 fontCollection.SetDynamicFontManager(OHOS::Rosen::Drawing::FontMgr::CreateDynamicFontMgr()); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/
H A Dfont_collection.h44 virtual std::shared_ptr<Drawing::FontMgr> GetFontMgr() = 0;
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_descriptor_cache.cpp94 std::shared_ptr<Drawing::FontMgr> fontMgr = Drawing::FontMgr::CreateDynamicFontMgr(); in ParseInstalledConfigFile()
105 std::shared_ptr<Drawing::FontMgr> fontMgr = Drawing::FontMgr::CreateDefaultFontMgr(); in ProcessInstalledFontPath()
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Ddrawing.h49 using RSFontMgr = RSDrawing::FontMgr;
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_render_service.cpp71 Drawing::FontMgr::CreateDefaultFontMgr(); in Init()

Completed in 7 milliseconds