Home
last modified time | relevance | path

Searched refs:fontmgr (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/modules/skottie/src/text/
DSkottieShaper.cpp53 BlobMaker(const Shaper::TextDesc& desc, const SkRect& box, const sk_sp<SkFontMgr>& fontmgr) in BlobMaker() argument
58 , fShaper(SkShaper::Make(fontmgr)) { in BlobMaker()
365 const SkRect& box, const sk_sp<SkFontMgr>& fontmgr, in ShapeImpl() argument
376 BlobMaker blobMaker(desc, box, fontmgr); in ShapeImpl()
389 const SkRect& box, const sk_sp<SkFontMgr>& fontmgr) { in ShapeToFit() argument
419 auto res = ShapeImpl(txt, desc, box, fontmgr, &res_size); in ShapeToFit()
478 const sk_sp<SkFontMgr>& fontmgr) { in Shape() argument
484 : ShapeImpl(txt, desc, SkRect::MakeEmpty().makeOffset(point.x(), point.y()), fontmgr); in Shape()
488 const sk_sp<SkFontMgr>& fontmgr) { in Shape() argument
493 return ShapeImpl(txt, desc, box, fontmgr); in Shape()
[all …]
DTextAdapter.cpp162 sk_sp<SkFontMgr> fontmgr, sk_sp<Logger> logger) { in Make() argument
222 auto adapter = sk_sp<TextAdapter>(new TextAdapter(std::move(fontmgr), in Make()
291 TextAdapter::TextAdapter(sk_sp<SkFontMgr> fontmgr, sk_sp<Logger> logger, AnchorPointGrouping apg) in TextAdapter() argument
293 , fFontMgr(std::move(fontmgr)) in TextAdapter()
/third_party/skia/
D.bazelrc10 build --flag_alias=fontmgr=//bazel/common_config_settings:fontmgr
/third_party/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp763 static std::unique_ptr<SkShaper> MakeHarfBuzz(sk_sp<SkFontMgr> fontmgr, bool correct) { in MakeHarfBuzz() argument
787 std::move(lineIter), std::move(graphIter), std::move(buffer), std::move(fontmgr)); in MakeHarfBuzz()
790 std::move(lineIter), std::move(graphIter), std::move(buffer), std::move(fontmgr)); in MakeHarfBuzz()
795 SkUnicodeBreak lineIter, SkUnicodeBreak graphIter, HBBuffer buffer, sk_sp<SkFontMgr> fontmgr) in ShaperHarfBuzz() argument
799 , fFontMgr(std::move(fontmgr)) in ShaperHarfBuzz()
1518 std::unique_ptr<SkShaper> SkShaper::MakeShaperDrivenWrapper(sk_sp<SkFontMgr> fontmgr) { in MakeShaperDrivenWrapper() argument
1519 return MakeHarfBuzz(std::move(fontmgr), true); in MakeShaperDrivenWrapper()
1521 std::unique_ptr<SkShaper> SkShaper::MakeShapeThenWrap(sk_sp<SkFontMgr> fontmgr) { in MakeShapeThenWrap() argument
1522 return MakeHarfBuzz(std::move(fontmgr), false); in MakeShapeThenWrap()
1525 sk_sp<SkFontMgr> fontmgr) { in MakeShapeDontWrapOrReorder() argument
[all …]
DSkShaper.cpp29 std::unique_ptr<SkShaper> SkShaper::Make(sk_sp<SkFontMgr> fontmgr) { in Make() argument
31 std::unique_ptr<SkShaper> shaper = SkShaper::MakeShaperDrivenWrapper(std::move(fontmgr)); in Make()
/third_party/skia/modules/canvaskit/
DBUILD.bazel55 "//src/ports:fontmgr",
138 "//src/ports:fontmgr",
DCHANGELOG.md893 - `CanvasKit.FontMgr.DefaultRef()` and `fontmgr.MakeTypefaceFromData` to load fonts.
907 to use the new `fontmgr.MakeTypefaceFromData` for more font variety.
/third_party/skia/src/ports/
DBUILD.bazel4 name = "fontmgr",
/third_party/skia/modules/skottie/src/
DSkottieTest.cpp673 auto fontmgr = sk_make_sp<CountingFontMgr>(); in DEF_TEST() local
694 const auto shape_result = Shaper::Shape(SkString("foo bar"), desc, text_box, fontmgr); in DEF_TEST()
698 REPORTER_ASSERT(reporter, fontmgr->fallbackCount() == 0ul); in DEF_TEST()
705 desc, text_box, fontmgr); in DEF_TEST()
709 REPORTER_ASSERT(reporter, fontmgr->fallbackCount() == 1ul); in DEF_TEST()
DSkottie.cpp161 AnimationBuilder::AnimationBuilder(sk_sp<ResourceProvider> rp, sk_sp<SkFontMgr> fontmgr, in AnimationBuilder() argument
169 , fLazyFontMgr(std::move(fontmgr)) in AnimationBuilder()
/third_party/skia/gn/
Dgm.gni184 "$_gm/fontmgr.cpp",