Home
last modified time | relevance | path

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

1234567

/third_party/flutter/skia/include/atlastext/
DSkAtlasTextFont.h18 static sk_sp<SkAtlasTextFont> Make(sk_sp<SkTypeface> typeface, SkScalar size) { in Make()
22 SkTypeface* typeface() const { return fTypeface.get(); } in typeface() function
31 SkAtlasTextFont(sk_sp<SkTypeface> typeface, SkScalar size) in SkAtlasTextFont()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dtypeface_font_asset_provider.cc50 void TypefaceFontAssetProvider::RegisterTypeface(sk_sp<SkTypeface> typeface) { in RegisterTypeface()
63 sk_sp<SkTypeface> typeface, in RegisterTypeface()
84 void TypefaceFontStyleSet::registerTypeface(sk_sp<SkTypeface> typeface) { in registerTypeface()
111 for (const sk_sp<SkTypeface>& typeface : typefaces_) in matchStyle() local
Dfont_skia.cc26 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(context); in GetTable() local
46 FontSkia::FontSkia(sk_sp<SkTypeface> typeface) in FontSkia()
51 static void FontSkia_SetSkiaFont(sk_sp<SkTypeface> typeface, in FontSkia_SetSkiaFont()
/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
/third_party/flutter/skia/modules/skparagraph/src/
DTypefaceFontProvider.cpp25 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface) { in registerTypeface()
36 size_t TypefaceFontProvider::registerTypeface(sk_sp<SkTypeface> typeface, const SkString& familyNam… in registerTypeface()
76 void TypefaceFontStyleSet::appendTypeface(sk_sp<SkTypeface> typeface) { in appendTypeface()
DFontResolver.cpp58 auto typeface = fFontCollection->matchTypeface(fontFamily.c_str(), style.getFontStyle()); in findAllFontsForStyledBlock() local
72 auto typeface = fFontCollection->matchDefaultTypeface(style.getFontStyle()); in findAllFontsForStyledBlock() local
85 …auto typeface = fFontCollection->defaultFallback(unicode, style.getFontStyle(), style.getLocale()); in findAllFontsForStyledBlock() local
208 FontDescr FontResolver::makeFont(sk_sp<SkTypeface> typeface, SkScalar size, SkScalar height) { in makeFont()
DFontCollection.cpp76 sk_sp<SkTypeface> typeface = nullptr; in matchTypeface() local
105 sk_sp<SkTypeface> typeface = nullptr; in matchDefaultTypeface() local
133 sk_sp<SkTypeface> typeface(manager->matchFamilyStyleCharacter( in defaultFallback() local
/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()
78 void TypefaceFontStyleSet::appendTypeface(sk_sp<SkTypeface> typeface) { in appendTypeface()
/third_party/flutter/txt/src/txt/
Dtypeface_font_asset_provider.cc50 void TypefaceFontAssetProvider::RegisterTypeface(sk_sp<SkTypeface> typeface) { in RegisterTypeface()
63 sk_sp<SkTypeface> typeface, in RegisterTypeface()
84 void TypefaceFontStyleSet::registerTypeface(sk_sp<SkTypeface> typeface) { in registerTypeface()
Dfont_skia.cc27 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(context); in GetTable() local
47 FontSkia::FontSkia(sk_sp<SkTypeface> typeface) in FontSkia()
52 static void FontSkia_SetSkiaFont(sk_sp<SkTypeface> typeface, in FontSkia_SetSkiaFont()
/third_party/skia/src/ports/skia_ohos/
DSkFontMgr_ohos.cpp158 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in onMatchFamilyStyleCharacter() local
214 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in findTypeface() local
224 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in findTypeface() local
278 SkTypeface* SkFontMgr_OHOS::onMatchFaceStyle(const SkTypeface* typeface, const SkFontStyle& style) … in onMatchFaceStyle() argument
374 SkTypeface* typeface = this->onMatchFamilyStyle(familyName, style); in onLegacyMakeTypeface() local
/third_party/flutter/skia/tools/fonts/
DToolUtilsFont.cpp31 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in planet_typeface() local
50 sk_sp<SkTypeface> typeface = MakeResourceAsTypeface(filename); in emoji_typeface() local
/third_party/flutter/skia/src/ports/skia_ohos/
DSkFontMgr_ohos.cpp158 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in onMatchFamilyStyleCharacter() local
214 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in findTypeface() local
224 sk_sp<SkTypeface> typeface = FontConfig_OHOS::matchFontStyle(tpSet, style); in findTypeface() local
278 SkTypeface* SkFontMgr_OHOS::onMatchFaceStyle(const SkTypeface* typeface, const SkFontStyle& style) … in onMatchFaceStyle() argument
393 SkTypeface* typeface = this->onMatchFamilyStyle(familyName, style); in onLegacyMakeTypeface() 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
/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
/third_party/flutter/skia/src/pdf/
DSkPDFFont.cpp107 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(const SkTypeface* typeface, in GetMetrics()
157 const std::vector<SkUnichar>& SkPDFFont::GetUnicodeMap(const SkTypeface* typeface, in GetUnicodeMap()
206 sk_sp<SkTypeface> typeface(sk_ref_sp(face)); in GetFontResource() local
226 SkPDFFont::SkPDFFont(sk_sp<SkTypeface> typeface, in SkPDFFont()
482 const SkTypeface* typeface, in type3_descriptor()
512 SkTypeface* typeface = pdfFont.typeface(); in emit_subset_type3() local
658 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
/third_party/flutter/txt/src/minikin/
DFontFamily.cpp69 Font::Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style) in Font()
72 Font::Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style) in Font()
115 bool FontFamily::analyzeStyle(const std::shared_ptr<MinikinFont>& typeface, in analyzeStyle()
188 const MinikinFont* typeface = getClosestMatch(defaultStyle).font; in computeCoverage() local
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DFontFamily.cpp69 Font::Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style) in Font()
72 Font::Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style) in Font()
115 bool FontFamily::analyzeStyle(const std::shared_ptr<MinikinFont>& typeface, in analyzeStyle()
188 const MinikinFont* typeface = getClosestMatch(defaultStyle).font; in computeCoverage() local
/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/flutter/engine/flutter/lib/ui/text/
Dasset_manager_font_provider.h52 sk_sp<SkTypeface> typeface; member
/third_party/flutter/skia/gm/
Datlastext.cpp46 uint32_t color, sk_sp<SkTypeface> typeface, float size) { in draw_string()
141 for (const auto& typeface : fTypefaces) { in drawText() 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

1234567