/external/skia/src/pdf/ |
D | SkPDFFont.h | 42 SkAdvancedTypefaceMetrics::FontType getType() const { return fFontType; } in getType() 44 static SkAdvancedTypefaceMetrics::FontType FontType(const SkAdvancedTypefaceMetrics&); 46 static bool IsMultiByte(SkAdvancedTypefaceMetrics::FontType type) { in IsMultiByte() 47 return type == SkAdvancedTypefaceMetrics::kType1CID_Font || in IsMultiByte() 48 type == SkAdvancedTypefaceMetrics::kTrueType_Font; in IsMultiByte() 95 static const SkAdvancedTypefaceMetrics* GetMetrics(SkTypeface* typeface, 115 SkAdvancedTypefaceMetrics::FontType fFontType; 134 const SkAdvancedTypefaceMetrics::FontType fFontType;
|
D | SkPDFFont.cpp | 53 SkPDFType0Font(SkPDFFont::Info, const SkAdvancedTypefaceMetrics&); 64 SkPDFType1Font(SkPDFFont::Info, const SkAdvancedTypefaceMetrics&, SkPDFCanon*); 70 SkPDFType3Font(SkPDFFont::Info, const SkAdvancedTypefaceMetrics&); 137 static bool can_embed(const SkAdvancedTypefaceMetrics& metrics) { in can_embed() 138 return !SkToBool(metrics.fFlags & SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag); in can_embed() 141 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(SkTypeface* typeface, in GetMetrics() 145 if (SkAdvancedTypefaceMetrics** ptr = canon->fTypefaceMetrics.find(id)) { in GetMetrics() 154 sk_sp<SkAdvancedTypefaceMetrics> metrics( in GetMetrics() 159 metrics = sk_make_sp<SkAdvancedTypefaceMetrics>(); in GetMetrics() 164 SkAdvancedTypefaceMetrics::FontType SkPDFFont::FontType(const SkAdvancedTypefaceMetrics& metrics) { in FontType() [all …]
|
D | SkPDFCanon.h | 17 class SkAdvancedTypefaceMetrics; variable 59 SkTHashMap<uint32_t, SkAdvancedTypefaceMetrics*> fTypefaceMetrics;
|
D | SkPDFCanon.cpp | 26 fTypefaceMetrics.foreach(UnrefValue<uint32_t, SkAdvancedTypefaceMetrics>()); in ~SkPDFCanon()
|
D | SkPDFDevice.cpp | 1271 const SkAdvancedTypefaceMetrics* metrics = in internalDrawText()
|
/external/skia/src/core/ |
D | SkAdvancedTypefaceMetrics.h | 23 class SkAdvancedTypefaceMetrics : public SkRefCnt { 26 SkAdvancedTypefaceMetrics() in SkAdvancedTypefaceMetrics() function 27 : fType(SkAdvancedTypefaceMetrics::kOther_Font) in SkAdvancedTypefaceMetrics() 37 ~SkAdvancedTypefaceMetrics() {} in ~SkAdvancedTypefaceMetrics() 94 template <> struct is_bitmask_enum<SkAdvancedTypefaceMetrics::FontFlags> : std::true_type {}; 95 template <> struct is_bitmask_enum<SkAdvancedTypefaceMetrics::StyleFlags> : std::true_type {};
|
D | SkTypeface.cpp | 53 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics() 299 SkAdvancedTypefaceMetrics* SkTypeface::getAdvancedTypefaceMetrics( in getAdvancedTypefaceMetrics() 303 SkAdvancedTypefaceMetrics* result = in getAdvancedTypefaceMetrics() 305 if (result && result->fType == SkAdvancedTypefaceMetrics::kTrueType_Font) { in getAdvancedTypefaceMetrics() 311 result->fFlags |= SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag; in getAdvancedTypefaceMetrics() 314 result->fFlags |= SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag; in getAdvancedTypefaceMetrics()
|
/external/skia/src/ports/ |
D | SkTypeface_win_dw.cpp | 319 SkAdvancedTypefaceMetrics* DWriteFontTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics() 324 SkAdvancedTypefaceMetrics* info = nullptr; in onGetAdvancedTypefaceMetrics() 333 info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics() 366 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics() 383 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style; in onGetAdvancedTypefaceMetrics() 387 info->fStyle |= SkAdvancedTypefaceMetrics::kItalic_Style; in onGetAdvancedTypefaceMetrics() 403 info->fStyle |= SkAdvancedTypefaceMetrics::kSerif_Style; in onGetAdvancedTypefaceMetrics() 407 info->fStyle |= SkAdvancedTypefaceMetrics::kScript_Style; in onGetAdvancedTypefaceMetrics()
|
D | SkFontHost_FreeType.cpp | 543 SkAdvancedTypefaceMetrics* SkTypeface_FreeType::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics() 553 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics() 557 info->fFlags |= SkAdvancedTypefaceMetrics::kMultiMaster_FontFlag; in onGetAdvancedTypefaceMetrics() 560 info->fFlags |= SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag; in onGetAdvancedTypefaceMetrics() 563 info->fFlags |= SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag; in onGetAdvancedTypefaceMetrics() 568 info->fType = SkAdvancedTypefaceMetrics::kType1_Font; in onGetAdvancedTypefaceMetrics() 570 info->fType = SkAdvancedTypefaceMetrics::kType1CID_Font; in onGetAdvancedTypefaceMetrics() 572 info->fType = SkAdvancedTypefaceMetrics::kCFF_Font; in onGetAdvancedTypefaceMetrics() 574 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics() 576 info->fType = SkAdvancedTypefaceMetrics::kOther_Font; in onGetAdvancedTypefaceMetrics() [all …]
|
D | SkFontHost_FreeType_common.h | 83 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
|
D | SkFontHost_win.cpp | 262 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( 1728 SkAdvancedTypefaceMetrics* LogFontTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics() 1733 SkAdvancedTypefaceMetrics* info = nullptr; in onGetAdvancedTypefaceMetrics() 1763 info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics() 1769 info->fFlags |= SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag; in onGetAdvancedTypefaceMetrics() 1778 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics() 1785 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style; in onGetAdvancedTypefaceMetrics() 1788 info->fStyle |= SkAdvancedTypefaceMetrics::kItalic_Style; in onGetAdvancedTypefaceMetrics() 1791 info->fStyle |= SkAdvancedTypefaceMetrics::kSerif_Style; in onGetAdvancedTypefaceMetrics() 1793 info->fStyle |= SkAdvancedTypefaceMetrics::kScript_Style; in onGetAdvancedTypefaceMetrics()
|
D | SkTypeface_win_dw.h | 107 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
|
D | SkFontHost_mac.cpp | 505 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( 1472 SkAdvancedTypefaceMetrics* SkTypeface_Mac::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics() 1482 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics() 1499 info->fFlags |= SkAdvancedTypefaceMetrics::kMultiMaster_FontFlag; in onGetAdvancedTypefaceMetrics() 1517 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics() 1520 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style; in onGetAdvancedTypefaceMetrics() 1523 info->fStyle |= SkAdvancedTypefaceMetrics::kItalic_Style; in onGetAdvancedTypefaceMetrics() 1527 info->fStyle |= SkAdvancedTypefaceMetrics::kSerif_Style; in onGetAdvancedTypefaceMetrics() 1529 info->fStyle |= SkAdvancedTypefaceMetrics::kScript_Style; in onGetAdvancedTypefaceMetrics()
|
D | SkFontMgr_fontconfig.cpp | 492 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(PerGlyphInfo perGlyphInfo, in onGetAdvancedTypefaceMetrics() 496 SkAdvancedTypefaceMetrics* info = in onGetAdvancedTypefaceMetrics() 501 info->fType = SkAdvancedTypefaceMetrics::kOther_Font; in onGetAdvancedTypefaceMetrics()
|
/external/skia/include/core/ |
D | SkTypeface.h | 27 class SkAdvancedTypefaceMetrics; variable 350 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( 404 SkAdvancedTypefaceMetrics* getAdvancedTypefaceMetrics(
|
/external/skia/src/fonts/ |
D | SkTestScalerContext.cpp | 149 SkAdvancedTypefaceMetrics* SkTestTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics() 154 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
|
D | SkRandomScalerContext.h | 30 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
|
D | SkGScalerContext.h | 25 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
|
D | SkTestScalerContext.h | 68 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
|
D | SkRandomScalerContext.cpp | 208 SkAdvancedTypefaceMetrics* SkRandomTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
|
D | SkGScalerContext.cpp | 161 SkAdvancedTypefaceMetrics* SkGTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
|
/external/skia/tests/ |
D | TypefaceTest.cpp | 195 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
|
D | FontMgrTest.cpp | 130 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( in test_matchStyleCSS3()
|
/external/skia/gn/ |
D | core.gni | 18 "$_src/core/SkAdvancedTypefaceMetrics.h",
|