| /third_party/skia/tests/ |
| D | TypefaceTest.cpp | 104 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/Em.ttf")); in DEF_TEST() local 120 sk_sp<SkTypeface> typeface(MakeResourceAsTypeface("fonts/7630.otf")); in DEF_TEST() local 160 auto test = [&](SkTypeface* typeface, const Variation& expected, int alsoAcceptedAxisTagCount) { in DEF_TEST() 231 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() local 252 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), params); in DEF_TEST() local 272 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local 294 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in DEF_TEST() local 343 { in DEF_TEST() 434 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(variable), 0); in DEF_TEST() local 452 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(dupTags), 0); in DEF_TEST() local [all …]
|
| D | FontTest.cpp | 32 SkTypeface* typeface; in serialize_deserialize() local 98 for (const sk_sp<SkTypeface>& typeface : typefaces) { in DEF_TEST() local
|
| D | SkStrikeCacheTest.cpp | 16 sk_sp<SkTypeface> typeface = in DEF_TEST() local
|
| D | SerializationTest.cpp | 340 static sk_sp<SkData> serialize_typeface_proc(SkTypeface* typeface, void* ctx) { in serialize_typeface_proc() 362 sk_sp<SkTypeface> typeface = SkTypeface::MakeDeserialize(stream); in deserialize_typeface_proc() local 366 static void serialize_and_compare_typeface(sk_sp<SkTypeface> typeface, in serialize_and_compare_typeface() 412 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params); in makeDistortableWithNonDefaultAxes() local 431 auto typeface = MakeResourceAsTypeface("fonts/test.ttc", 1); in TestPictureTypefaceSerialization() local 442 auto typeface = makeDistortableWithNonDefaultAxes(reporter); in TestPictureTypefaceSerialization() local 453 static void TestTypefaceSerialization(skiatest::Reporter* reporter, sk_sp<SkTypeface> typeface) { in TestTypefaceSerialization()
|
| /third_party/skia/modules/skparagraph/src/ |
| D | TypefaceFontProvider.cpp | 27 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface) { in registerTypeface() 38 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface, const SkString& familyNam… in registerTypeface() 89 void TypefaceFontStyleSet::appendTypeface(sk_sp<SkTypeface> typeface) { in appendTypeface()
|
| D | FontCollection.cpp | 16 RSTypeface* typeface = fontMgr->MatchFamilyStyle(familyName, style); in RSLegacyMakeTypeface() local 319 sk_sp<SkTypeface> typeface(manager->matchFamilyStyleCharacter( local 322 std::shared_ptr<RSTypeface> typeface(manager->MatchFamilyStyleCharacter( local
|
| D | Run.cpp | 67 auto typeface = font.GetTypeface(); in getFontCompressionStatus() local 77 auto typeface = font.GetTypeface(); in getFamilyNameFromFont() local 83 auto typeface = font.refTypeface(); in getFontCompressionStatus() local 93 auto typeface = font.refTypeface(); in getFamilyNameFromFont() local 134 auto typeface = font.GetTypeface(); in metricsIncludeFontPadding() local
|
| D | OneLineShaper.cpp | 551 for (const auto& typeface : typefaces) { local 592 sk_sp<SkTypeface> typeface; local 594 std::shared_ptr<RSTypeface> typeface; local 713 auto typeface = typefaces.size() ? typefaces.front() : nullptr; local 781 auto typefaceVisitor = [&](std::shared_ptr<RSTypeface> typeface) {
|
| /third_party/skia/src/ports/skia_ohos/ |
| D | SkFontMgr_ohos.cpp | 159 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in onMatchFamilyStyleCharacter() local 215 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in findTypeface() local 225 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in findTypeface() local 279 SkTypeface* SkFontMgr_OHOS::onMatchFaceStyle(const SkTypeface* typeface, const SkFontStyle& style) … in onMatchFaceStyle() argument 375 SkTypeface* typeface = this->onMatchFamilyStyle(familyName, style); in onLegacyMakeTypeface() local 399 sk_sp<SkTypeface_OHOS> typeface = fontConfig->getTypefaceSP(i, j); in onGetSystemFonts() local
|
| D | SkFontStyleSet_ohos.cpp | 41 SkTypeface* typeface = fontConfig_->getTypeface(styleIndex, index, isFallback); in getStyle() local
|
| /third_party/skia/tools/fonts/ |
| D | ToolUtilsFont.cpp | 32 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in planet_typeface() local 51 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in emoji_typeface() local
|
| D | create_test_font_color.cpp | 19 static void export_ttx(sk_sp<TestSVGTypeface> typeface, in export_ttx()
|
| D | TestFontMgr.cpp | 67 sk_sp<TestTypeface> typeface = in FontMgr() local 178 sk_sp<SkTypeface> typeface = sk_sp<SkTypeface>(this->matchFamilyStyle(familyName, style)); in onLegacyMakeTypeface() local
|
| /third_party/skia/src/pdf/ |
| D | SkPDFFont.cpp | 106 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(const SkTypeface* typeface, in GetMetrics() 156 const std::vector<SkUnichar>& SkPDFFont::GetUnicodeMap(const SkTypeface* typeface, in GetUnicodeMap() 205 sk_sp<SkTypeface> typeface(sk_ref_sp(face)); in GetFontResource() local 225 SkPDFFont::SkPDFFont(sk_sp<SkTypeface> typeface, in SkPDFFont() 485 const SkTypeface* typeface, in type3_descriptor() 518 SkStrikeSpec make_small_strike(const SkTypeface& typeface) { in make_small_strike() 530 SkTypeface* typeface = pdfFont.typeface(); in emit_subset_type3() local 685 bool SkPDFFont::CanEmbedTypeface(SkTypeface* typeface, SkPDFDocument* doc) { in CanEmbedTypeface()
|
| D | SkPDFType1Font.cpp | 228 const SkTypeface* typeface, in make_type1_font_descriptor() 258 const SkTypeface* typeface) { in type_1_glyphnames() 271 const SkTypeface* typeface) { in type1_font_descriptor() 284 SkTypeface* typeface = pdfFont.typeface(); in SkPDFEmitType1Font() local
|
| D | SkPDFFont.h | 39 SkTypeface* typeface() const { return fTypeface.get(); } in typeface() function
|
| /third_party/skia/src/ports/ |
| D | SkScalerContext_win_dw.cpp | 51 static SkSharedMutex* maybe_dw_mutex(DWriteFontTypeface& typeface) { in maybe_dw_mutex() 99 static bool is_hinted(DWriteFontTypeface* typeface) { in is_hinted() 125 bool get_gasp_range(DWriteFontTypeface* typeface, int size, GaspRange* range) { in get_gasp_range() 170 static bool has_bitmap_strike(DWriteFontTypeface* typeface, GaspRange range) { in has_bitmap_strike() 263 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in SkScalerContext_DW() local 430 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in generateAdvance() local 487 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in getBoundingBox() local 970 DWriteFontTypeface* typeface = this->getDWriteTypeface(); in drawDWMask() local
|
| /third_party/skia/modules/canvaskit/tests/ |
| D | font.spec.js | 241 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(fontType.buffer); constant 257 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(fetchedByteBuffers[3]); constant 271 const typeface = CanvasKit.Typeface.MakeFreeTypeFaceFromData(notoSerifFontBuffer); constant
|
| /third_party/skia/docs/examples/ |
| D | text_rendering.cpp | 9 sk_sp<SkTypeface> typeface = fontManager->legacyMakeTypeface(fontFamily, fontStyle); in draw() local
|
| /third_party/skia/src/sfnt/ |
| D | SkOTUtils.cpp | 180 SkOTUtils::LocalizedStrings_NameTable::Make(const SkTypeface& typeface, in Make() 201 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(const SkTypeface& typeface) { in MakeForFamilyNames()
|
| /third_party/skia/gm/ |
| D | scaledemoji_rendering.cpp | 53 for (const auto& typeface: typefaces) { in onDraw() local
|
| /third_party/skia/modules/androidkit/src/ |
| D | Font.cpp | 20 …sk_sp<SkTypeface> typeface = sk_sp<SkTypeface>(fontMgr->matchFamilyStyle(cFontFamily, SkFontStyle(… in Font_Create() local
|
| /third_party/skia/modules/canvaskit/htmlcanvas/ |
| D | font.js | 88 function addToFontCache(typeface, descriptors) { argument
|
| /third_party/skia/src/core/ |
| D | SkStrikeSpec.h | 96 const SkTypeface& typeface() const { return *fTypeface; } in typeface() function
|
| /third_party/skia/modules/canvaskit/npm_build/ |
| D | textapi_utils.js | 356 block = { length: 0, typeface: s.typeface, size: s.size }; property 361 block = { length: s._length, typeface: s.typeface, size: s.size }; property 365 blocks.push({ length: s._length, typeface: s.typeface, size: s.size }); property
|