Home
last modified time | relevance | path

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

/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp54 BlobMaker(const Shaper::TextDesc& desc, const SkRect& box, const sk_sp<SkFontMgr>& fontmgr) in BlobMaker() argument
59 , fShaper(SkShaper::Make(fontmgr)) { in BlobMaker()
366 const SkRect& box, const sk_sp<SkFontMgr>& fontmgr, in ShapeImpl() argument
377 BlobMaker blobMaker(desc, box, fontmgr); in ShapeImpl()
390 const SkRect& box, const sk_sp<SkFontMgr>& fontmgr) { in ShapeToFit() argument
420 auto res = ShapeImpl(txt, desc, box, fontmgr, &res_size); in ShapeToFit()
454 const sk_sp<SkFontMgr>& fontmgr) { in Shape() argument
458 : ShapeImpl(txt, desc, SkRect::MakeEmpty().makeOffset(point.x(), point.y()), fontmgr); in Shape()
462 const sk_sp<SkFontMgr>& fontmgr) { in Shape() argument
465 return ShapeImpl(txt, desc, box, fontmgr); in Shape()
[all …]
DTextAdapter.cpp29 sk_sp<SkFontMgr> fontmgr, sk_sp<Logger> logger) { in Make() argument
81 auto adapter = sk_sp<TextAdapter>(new TextAdapter(std::move(fontmgr), in Make()
109 TextAdapter::TextAdapter(sk_sp<SkFontMgr> fontmgr, sk_sp<Logger> logger, AnchorPointGrouping apg) in TextAdapter() argument
111 , fFontMgr(std::move(fontmgr)) in TextAdapter()
/external/pdfium/testing/fuzzers/
Dpdf_bidi_fuzzer.cc17 auto fontmgr = pdfium::MakeUnique<CFGAS_FontMgr>(); in LLVMFuzzerTestOneInput() local
25 rtf_break.SetFont(CFGAS_GEFont::LoadFont(std::move(font), fontmgr.get())); in LLVMFuzzerTestOneInput()
/external/skqp/experimental/canvaskit/
DCHANGELOG.md46 - `CanvasKit.FontMgr.DefaultRef()` and `fontmgr.MakeTypefaceFromData` to load fonts.
60 to use the new `fontmgr.MakeTypefaceFromData` for more font variety.
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp747 static std::unique_ptr<SkShaper> MakeHarfBuzz(sk_sp<SkFontMgr> fontmgr, bool correct) { in MakeHarfBuzz() argument
769 std::move(lineIter), std::move(graphIter), std::move(buffer), std::move(fontmgr)); in MakeHarfBuzz()
772 std::move(lineIter), std::move(graphIter), std::move(buffer), std::move(fontmgr)); in MakeHarfBuzz()
777 SkUnicodeBreak lineIter, SkUnicodeBreak graphIter, HBBuffer buffer, sk_sp<SkFontMgr> fontmgr) in ShaperHarfBuzz() argument
781 , fFontMgr(std::move(fontmgr)) in ShaperHarfBuzz()
1493 std::unique_ptr<SkShaper> SkShaper::MakeShaperDrivenWrapper(sk_sp<SkFontMgr> fontmgr) { in MakeShaperDrivenWrapper() argument
1494 return MakeHarfBuzz(std::move(fontmgr), true); in MakeShaperDrivenWrapper()
1496 std::unique_ptr<SkShaper> SkShaper::MakeShapeThenWrap(sk_sp<SkFontMgr> fontmgr) { in MakeShapeThenWrap() argument
1497 return MakeHarfBuzz(std::move(fontmgr), false); in MakeShapeThenWrap()
1499 std::unique_ptr<SkShaper> SkShaper::MakeShapeDontWrapOrReorder(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()
/external/skia/modules/skottie/src/
DSkottieTest.cpp671 auto fontmgr = sk_make_sp<CountingFontMgr>(); in DEF_TEST() local
691 const auto shape_result = Shaper::Shape(SkString("foo bar"), desc, text_box, fontmgr); in DEF_TEST()
695 REPORTER_ASSERT(reporter, fontmgr->fallbackCount() == 0ul); in DEF_TEST()
702 desc, text_box, fontmgr); in DEF_TEST()
706 REPORTER_ASSERT(reporter, fontmgr->fallbackCount() == 1ul); in DEF_TEST()
DSkottie.cpp161 AnimationBuilder::AnimationBuilder(sk_sp<ResourceProvider> rp, sk_sp<SkFontMgr> fontmgr, in AnimationBuilder() argument
168 , fLazyFontMgr(std::move(fontmgr)) in AnimationBuilder()
/external/skqp/modules/skottie/src/
DSkottie.cpp213 AnimationBuilder::AnimationBuilder(sk_sp<ResourceProvider> rp, sk_sp<SkFontMgr> fontmgr, in AnimationBuilder() argument
219 , fLazyFontMgr(std::move(fontmgr)) in AnimationBuilder()
/external/skqp/gn/
Dgm.gni155 "$_gm/fontmgr.cpp",
/external/skia/gn/
Dgm.gni187 "$_gm/fontmgr.cpp",
/external/skia/modules/canvaskit/
DCHANGELOG.md786 - `CanvasKit.FontMgr.DefaultRef()` and `fontmgr.MakeTypefaceFromData` to load fonts.
800 to use the new `fontmgr.MakeTypefaceFromData` for more font variety.
/external/skqp/
DAndroid.bp353 "gm/fontmgr.cpp",
/external/skia/
DAndroid.bp2134 "gm/fontmgr.cpp",
3289 "gm/fontmgr.cpp",