Home
last modified time | relevance | path

Searched refs:typefaces (Results 1 – 25 of 38) sorted by relevance

12

/third_party/flutter/skia/gm/
Dscaledemoji_rendering.cpp33 sk_sp<SkTypeface> typefaces[4]; member in skiagm::ScaledEmojiRenderingGM
36 typefaces[0] = MakeResourceAsTypeface("fonts/colr.ttf"); in onOnceBeforeDraw()
37 typefaces[1] = MakeResourceAsTypeface("fonts/sbix.ttf"); in onOnceBeforeDraw()
38 typefaces[2] = MakeResourceAsTypeface("fonts/cbdt.ttf"); in onOnceBeforeDraw()
39 typefaces[3] = ToolUtils::create_portable_typeface("Emoji", SkFontStyle()); in onOnceBeforeDraw()
53 for (const auto& typeface: typefaces) { in onDraw()
/third_party/skia/gm/
Dscaledemoji_rendering.cpp33 sk_sp<SkTypeface> typefaces[4]; member in skiagm::ScaledEmojiRenderingGM
36 typefaces[0] = MakeResourceAsTypeface("fonts/colr.ttf"); in onOnceBeforeDraw()
37 typefaces[1] = MakeResourceAsTypeface("fonts/sbix.ttf"); in onOnceBeforeDraw()
38 typefaces[2] = MakeResourceAsTypeface("fonts/cbdt.ttf"); in onOnceBeforeDraw()
39 typefaces[3] = ToolUtils::create_portable_typeface("Emoji", SkFontStyle()); in onOnceBeforeDraw()
53 for (const auto& typeface: typefaces) { in onDraw()
/third_party/skia/tests/
DFontTest.cpp19 sk_sp<SkRefCntSet> typefaces = sk_make_sp<SkRefCntSet>(); in serialize_deserialize() local
21 wb.setTypefaceRecorder(typefaces); in serialize_deserialize()
28 int count = typefaces->count(); in serialize_deserialize()
33 typefaces->copyToArray((SkRefCnt**)&typeface); in serialize_deserialize()
81 const sk_sp<SkTypeface> typefaces[] = { in DEF_TEST() local
98 for (const sk_sp<SkTypeface>& typeface : typefaces) { in DEF_TEST()
/third_party/skia/modules/skparagraph/src/
DFontCollection.cpp85 std::vector<sk_sp<SkTypeface>> typefaces; in findTypefaces() local
89 typefaces.emplace_back(std::move(match)); in findTypefaces()
93 if (typefaces.empty()) { in findTypefaces()
110 typefaces.emplace_back(std::move(match)); in findTypefaces()
114 fTypefaces.set(familyKey, typefaces); in findTypefaces()
115 return typefaces; in findTypefaces()
DOneLineShaper.cpp480 …std::vector<sk_sp<SkTypeface>> typefaces = fParagraph->fFontCollection->findTypefaces(textStyle.ge… in matchResolvedFonts() local
482 for (const auto& typeface : typefaces) { in matchResolvedFonts()
592 std::vector<sk_sp<SkTypeface>> typefaces = fParagraph->fFontCollection->findTypefaces( in iterateThroughShapingRegions() local
595 sk_sp<SkTypeface> typeface = typefaces.size() ? typefaces.front() : nullptr; in iterateThroughShapingRegions()
DParagraphImpl.cpp588 …std::vector<sk_sp<SkTypeface>> typefaces = fFontCollection->findTypefaces(strutStyle.getFontFamili… in resolveStrut() local
589 if (typefaces.empty()) { in resolveStrut()
594 SkFont font(typefaces.front(), strutStyle.getFontSize()); in resolveStrut()
903 auto typefaces = fontCollection()->findTypefaces( in computeEmptyMetrics() local
905 auto typeface = typefaces.empty() ? nullptr : typefaces.front(); in computeEmptyMetrics()
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DFontCollection.cpp56 std::vector<std::shared_ptr<FontFamily>> typefaces; in FontCollection() local
57 typefaces.push_back(typeface); in FontCollection()
58 init(typefaces); in FontCollection()
62 const vector<std::shared_ptr<FontFamily>>& typefaces) in FontCollection() argument
64 init(typefaces); in FontCollection()
68 const vector<std::shared_ptr<FontFamily>>& typefaces) { in init() argument
72 size_t nTypefaces = typefaces.size(); in init()
78 const std::shared_ptr<FontFamily>& family = typefaces[i]; in init()
DFontCollection.h32 const std::vector<std::shared_ptr<FontFamily>>& typefaces);
103 void init(const std::vector<std::shared_ptr<FontFamily>>& typefaces);
/third_party/flutter/txt/src/minikin/
DFontCollection.cpp55 const std::vector<std::shared_ptr<FontFamily>>& typefaces) { in Create() argument
58 if (!font_collection || !font_collection->init(typefaces)) { in Create()
67 const std::vector<std::shared_ptr<FontFamily>>& typefaces) { in init() argument
71 size_t nTypefaces = typefaces.size(); in init()
77 const std::shared_ptr<FontFamily>& family = typefaces[i]; in init()
DFontCollection.h36 const std::vector<std::shared_ptr<FontFamily>>& typefaces);
106 bool init(const std::vector<std::shared_ptr<FontFamily>>& typefaces);
/third_party/flutter/skia/bench/
DSkGlyphCacheBench.cpp91 sk_sp<SkTypeface> typefaces[] = { in onDraw() local
100 font.setTypeface(typefaces[threadIndex % 2]); in onDraw()
/third_party/skia/bench/
DSkGlyphCacheBench.cpp93 sk_sp<SkTypeface> typefaces[] = { in onDraw() local
102 font.setTypeface(typefaces[threadIndex % 2]); in onDraw()
/third_party/skia/experimental/docs/
DexampleSlides.js275 var typefaces = { variable
DcanvasBackend.js134 var typeface = typefaces[paint.typeface];
DsvgBackend.js198 var typeface = typefaces[paint.typeface];
/third_party/flutter/skia/experimental/docs/
DexampleSlides.js275 var typefaces = { variable
DcanvasBackend.js134 var typeface = typefaces[paint.typeface];
DsvgBackend.js198 var typeface = typefaces[paint.typeface];
/third_party/flutter/skia/src/core/
DSkPicture.cpp157 SkTypefacePlayback* typefaces) { in MakeFromStream() argument
173 SkPictureData::CreateFromStream(stream, info, procs, typefaces)); in MakeFromStream()
/third_party/skia/src/core/
DSkPicture.cpp160 SkTypefacePlayback* typefaces) { in MakeFromStream() argument
176 SkPictureData::CreateFromStream(stream, info, procs, typefaces)); in MakeFromStream()
/third_party/cups-filters/charset/
Dpdf.utf-8.simple23 # "Normal", "bold", "italic", and "bold-italic" are the typefaces to use
Dpdf.utf-8.heavy23 # "Normal", "bold", "italic", and "bold-italic" are the typefaces to use
/third_party/flutter/skia/include/core/
DSkPicture.h224 void serialize(SkWStream*, const SkSerialProcs*, class SkRefCntSet* typefaces,
/third_party/skia/include/core/
DSkPicture.h245 void serialize(SkWStream*, const SkSerialProcs*, class SkRefCntSet* typefaces,
/third_party/skia/site/docs/user/
Dtips.md83 positioned glyphs with the appropriate typefaces.

12