Home
last modified time | relevance | path

Searched defs:typeface (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/skia/tests/
DTypefaceTest.cpp104 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 …]
DFontTest.cpp32 SkTypeface* typeface; in serialize_deserialize() local
98 for (const sk_sp<SkTypeface>& typeface : typefaces) { in DEF_TEST() local
DSkStrikeCacheTest.cpp16 sk_sp<SkTypeface> typeface = in DEF_TEST() local
DSerializationTest.cpp340 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/
DTypefaceFontProvider.cpp27 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()
DFontCollection.cpp16 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
DRun.cpp67 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
DOneLineShaper.cpp551 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/
DSkFontMgr_ohos.cpp159 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
DSkFontStyleSet_ohos.cpp41 SkTypeface* typeface = fontConfig_->getTypeface(styleIndex, index, isFallback); in getStyle() local
/third_party/skia/tools/fonts/
DToolUtilsFont.cpp32 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in planet_typeface() local
51 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in emoji_typeface() local
Dcreate_test_font_color.cpp19 static void export_ttx(sk_sp<TestSVGTypeface> typeface, in export_ttx()
DTestFontMgr.cpp67 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/
DSkPDFFont.cpp106 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()
DSkPDFType1Font.cpp228 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
DSkPDFFont.h39 SkTypeface* typeface() const { return fTypeface.get(); } in typeface() function
/third_party/skia/src/ports/
DSkScalerContext_win_dw.cpp51 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/
Dfont.spec.js241 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/
Dtext_rendering.cpp9 sk_sp<SkTypeface> typeface = fontManager->legacyMakeTypeface(fontFamily, fontStyle); in draw() local
/third_party/skia/src/sfnt/
DSkOTUtils.cpp180 SkOTUtils::LocalizedStrings_NameTable::Make(const SkTypeface& typeface, in Make()
201 SkOTUtils::LocalizedStrings_NameTable::MakeForFamilyNames(const SkTypeface& typeface) { in MakeForFamilyNames()
/third_party/skia/gm/
Dscaledemoji_rendering.cpp53 for (const auto& typeface: typefaces) { in onDraw() local
/third_party/skia/modules/androidkit/src/
DFont.cpp20 …sk_sp<SkTypeface> typeface = sk_sp<SkTypeface>(fontMgr->matchFamilyStyle(cFontFamily, SkFontStyle(… in Font_Create() local
/third_party/skia/modules/canvaskit/htmlcanvas/
Dfont.js88 function addToFontCache(typeface, descriptors) { argument
/third_party/skia/src/core/
DSkStrikeSpec.h96 const SkTypeface& typeface() const { return *fTypeface; } in typeface() function
/third_party/skia/modules/canvaskit/npm_build/
Dtextapi_utils.js356 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

1234