/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/ |
H A D | typeface_test.cpp | 53 auto typeface = Typeface::MakeFromStream(std::move(stream)); variable 80 auto typeface = std::make_shared<Typeface>(nullptr); variable 93 auto typeface = std::make_shared<Typeface>(nullptr); variable 106 auto typeface = std::make_shared<Typeface>(nullptr); variable 120 auto typeface = std::make_shared<Typeface>(nullptr); variable 133 auto typeface = std::make_shared<Typeface>(nullptr); variable 146 auto typeface = std::make_shared<Typeface>(nullptr); variable 159 auto typeface = Typeface::MakeDefault(); variable 173 auto typeface = Typeface::MakeDefault(); variable 189 auto typeface = Typeface::MakeDefault(); variable [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_font_test.cpp | 50 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable 63 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable 77 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable 91 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable 105 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable 119 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable 133 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable 147 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable 161 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable 182 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); variable [all …]
|
H A D | skia_typeface_test.cpp | 107 auto typeface = SkiaTypeface::MakeDefault(); variable 119 auto typeface = SkiaTypeface::MakeDefault(); variable 157 auto typeface = SkiaTypeface::MakeDefault(); variable 214 auto typeface = SkiaTypeface::MakeDefault(); variable 229 auto typeface = SkiaTypeface::MakeDefault(); variable 274 auto typeface = SkiaTypeface::MakeDefault(); variable 311 auto typeface = SkiaTypeface::MakeDefault(); variable 325 auto typeface = SkTypeface::MakeDefault(); variable 339 auto typeface = SkiaTypeface::MakeDefault(); variable 373 auto typeface = SkiaTypeface::MakeDefault(); variable [all …]
|
H A D | skia_font_mgr_test.cpp | 105 auto typeface = skiaFontMgr->MatchFamilyStyle("0", fontStyle); variable
|
H A D | skia_font_style_set_test.cpp | 66 auto typeface = skiaFontStyleSet->MatchStyle(fontStyle); variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | font_collection_test.cpp | 38 auto typeface = fontCollection->LoadFont("familyname", data, 0); variable 54 auto typeface = OHOS::Rosen::Drawing::Typeface::MakeDefault(); variable 55 …sen::Drawing::Typeface::RegisterCallBackFunc([](std::shared_ptr<OHOS::Rosen::Drawing::Typeface> ty… in __anone0d62bb60102() 59 …sen::Drawing::Typeface::RegisterCallBackFunc([](std::shared_ptr<OHOS::Rosen::Drawing::Typeface> ty… in __anone0d62bb60202()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_typeface_test.cpp | 50 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateFromFile(path, 0); variable 65 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateFromStream(memoryStream, 1); variable 78 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateDefault(); variable 150 OH_Drawing_Typeface *typeface = variable 185 OH_Drawing_Typeface *typeface = OH_Drawing_TypefaceCreateFromCurrent(current, nullptr); variable 212 OH_Drawing_Typeface *typeface = OH_Drawing_TypefaceCreateFromCurrent(current, fontArgs); variable
|
H A D | drawing_font_mgr_test.cpp | 109 …OH_Drawing_Typeface *typeface = OH_Drawing_FontMgrMatchFamilyStyle(mgr, matchFamilyName, normalSty… variable 175 …OH_Drawing_Typeface *typeface = OH_Drawing_FontMgrMatchFamilyStyle(nullptr, matchFamilyName, norma… variable 207 OH_Drawing_Typeface *typeface = OH_Drawing_FontStyleSetCreateTypeface(fontStyleSet, 0); variable 247 OH_Drawing_Typeface* typeface = OH_Drawing_FontStyleSetMatchStyle(fontStyleSet, normalStyle); variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_typeface.cpp | 79 static OH_Drawing_Typeface* RegisterAndConvertTypeface(std::shared_ptr<Typeface> typeface) in RegisterAndConvertTypeface() 98 std::shared_ptr<Typeface> typeface = g_LoadZhCnTypeface(); in OH_Drawing_TypefaceCreateDefault() local 114 std::shared_ptr<Typeface> typeface = Typeface::MakeFromFile(path, index); in OH_Drawing_TypefaceCreateFromFile() local 155 std::shared_ptr<Typeface> typeface = currentTypeface->MakeClone(fontArguments); in OH_Drawing_TypefaceCreateFromCurrent() local 169 std::shared_ptr<Typeface> typeface = Typeface::MakeFromStream(std::move(memoryStream), index); in OH_Drawing_TypefaceCreateFromStream() local 190 auto typeface = TypefaceMgr::GetInstance().Find(cTypeface); in OH_Drawing_TypefaceDestroy() local
|
H A D | drawing_font_mgr.cpp | 168 Typeface* typeface = fontMgr->MatchFamilyStyle( in OH_Drawing_FontMgrMatchFamilyStyle() local 187 Typeface* typeface = fontMgr->MatchFamilyStyleCharacter(familyName, in OH_Drawing_FontMgrMatchFamilyStyleCharacter() local 209 std::shared_ptr<Typeface> typeface(drawingTypeface); in OH_Drawing_FontStyleSetCreateTypeface() local 277 std::shared_ptr<Typeface> typeface(drawingTypeface); in OH_Drawing_FontStyleSetMatchStyle() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/typeface_fuzzer/ |
H A D | typeface_fuzzer.cpp | 41 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); in TypefaceFuzzTest001() local 74 std::shared_ptr<Typeface> typeface = Typeface::MakeFromFile(path, length); in TypefaceFuzzTest002() local 102 std::shared_ptr<Typeface> typeface = Typeface::MakeFromStream(std::move(memoryStream), index); in TypefaceFuzzTest003() local 121 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); in TypefaceFuzzTest004() local 174 std::shared_ptr<Typeface> typeface = Typeface::MakeFromName(familyName, fontStyle); in TypefaceFuzzTest005() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_typeface_cache_test.cpp | 47 std::shared_ptr<Drawing::Typeface> typeface = Drawing::Typeface::MakeDefault(); variable 144 auto typeface = Drawing::Typeface::MakeDefault(); variable 212 auto typeface = Drawing::Typeface::MakeDefault(); variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/ |
H A D | text_blob.h | 89 explicit Context(std::shared_ptr<Typeface> typeface, bool isCustomTypeface) noexcept in Context() 97 void SetTypeface(std::shared_ptr<Typeface> typeface) in SetTypeface()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | typeface_test.cpp | 50 OH_Drawing_Typeface* typeface; in OnTestPerformance() local 80 OH_Drawing_Typeface* typeface; in OnTestPerformance() local 107 OH_Drawing_Typeface* typeface; in OnTestPerformance() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | typeface_font_asset_provider.cpp | 53 void TypefaceFontAssetProvider::RegisterTypeface(sk_sp<SkTypeface> typeface) in RegisterTypeface() 66 void TypefaceFontAssetProvider::RegisterTypeface(sk_sp<SkTypeface> typeface, std::string familyName… in RegisterTypeface() 99 void TypefaceFontStyleSet::registerTypeface(sk_sp<SkTypeface> typeface) in registerTypeface()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_font_style_set.cpp | 55 RSTypeface* typeface = set_->CreateTypeface(index); in CreateTypeface() local 65 RSTypeface* typeface = set_->MatchStyle(style); in MatchStyle() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | font_collection.cpp | 81 bool FontCollection::RegisterTypeface(std::shared_ptr<Drawing::Typeface> typeface) in RegisterTypeface() 102 …std::shared_ptr<Drawing::Typeface> typeface(dfmanager_->LoadDynamicFont(familyName, data, datalen)… in LoadFont() local 138 …std::shared_ptr<Drawing::Typeface> typeface(dfmanager_->LoadThemeFont(familyName, OHOS_THEME_FONT,… in LoadThemeFont() local
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/font_napi/ |
H A D | js_typeface.h | 31 explicit JsTypeface(std::shared_ptr<Typeface> typeface) : m_typeface(typeface) {}; in JsTypeface()
|
H A D | js_typeface.cpp | 92 napi_value JsTypeface::CreateJsTypeface(napi_env env, const std::shared_ptr<Typeface> typeface) in CreateJsTypeface() 122 std::shared_ptr<Typeface> typeface = Typeface::MakeFromFile(ZH_CN_TTF); in LoadZhCnTypeface() local 165 auto typeface = new JsTypeface(rawTypeface); in MakeFromFile() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/drawing_utils/ |
H A D | drawing_canvas_utils.h | 43 auto typeface = OHOS::Rosen::Drawing::Typeface::MakeFromFile(ZH_CN_TTF); in g_LoadZhCnTypeface() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/src/ |
H A D | font_parser.cpp | 174 int FontParser::ParseCmapTable(std::shared_ptr<Drawing::Typeface> typeface, FontParser::FontDescrip… in ParseCmapTable() 205 int FontParser::ParseNameTable(std::shared_ptr<Drawing::Typeface> typeface, FontParser::FontDescrip… in ParseNameTable() 241 int FontParser::ParsePostTable(std::shared_ptr<Drawing::Typeface> typeface, FontParser::FontDescrip… in ParsePostTable() 272 int FontParser::ParseTable(std::shared_ptr<Drawing::Typeface> typeface, FontParser::FontDescriptor&… in ParseTable() 299 auto typeface = Drawing::Typeface::MakeFromFile(path); in SetFontDescriptor() local 405 std::shared_ptr<Drawing::Typeface> typeface = nullptr; in ParserFontDescriptorsFromPath() local 453 auto typeface = Drawing::Typeface::MakeFromFile(path.c_str()); in ParseFontDescriptor() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndktypeface_fuzzer/ |
H A D | ndktypeface_fuzzer.cpp | 54 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateDefault(); in NativeDrawingTypefaceTest001() local 102 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateFromStream(memoryStream, streamIndex); in NativeDrawingTypefaceTest002() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_root_node.cpp | 34 [] (std::shared_ptr<Drawing::Typeface> typeface) -> bool { in RegisterTypefaceCallback() 41 [] (std::shared_ptr<Drawing::Typeface> typeface) -> bool { in RegisterTypefaceCallback()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_font_mgr.cpp | 118 auto typeface = SkTypeface::MakeFromStream(std::move(stream)); in LoadDynamicFont() local 132 void SkiaFontMgr::LoadThemeFont(const std::string& themeName, std::shared_ptr<Typeface> typeface) in LoadThemeFont() 162 auto typeface = SkTypeface::MakeFromStream(std::move(stream)); in LoadThemeFont() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | rosen_font_collection.cpp | 97 sk_sp<SkTypeface> typeface = SkTypeface::MakeFromStream(std::move(font_stream)); in LoadFontFromList() local 140 sk_sp<SkTypeface> typeface = SkTypeface::MakeFromStream(std::move(font_stream)); in LoadThemeFont() local
|