Home
last modified time | relevance | path

Searched refs:SkAdvancedTypefaceMetrics (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/pdf/
DSkPDFFont.h42 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;
DSkPDFFont.cpp53 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 …]
DSkPDFCanon.h17 class SkAdvancedTypefaceMetrics; variable
59 SkTHashMap<uint32_t, SkAdvancedTypefaceMetrics*> fTypefaceMetrics;
DSkPDFCanon.cpp26 fTypefaceMetrics.foreach(UnrefValue<uint32_t, SkAdvancedTypefaceMetrics>()); in ~SkPDFCanon()
DSkPDFDevice.cpp1271 const SkAdvancedTypefaceMetrics* metrics = in internalDrawText()
/external/skia/src/core/
DSkAdvancedTypefaceMetrics.h23 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 {};
DSkTypeface.cpp53 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/
DSkTypeface_win_dw.cpp319 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()
DSkFontHost_FreeType.cpp543 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 …]
DSkFontHost_FreeType_common.h83 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkFontHost_win.cpp262 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()
DSkTypeface_win_dw.h107 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkFontHost_mac.cpp505 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()
DSkFontMgr_fontconfig.cpp492 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(PerGlyphInfo perGlyphInfo, in onGetAdvancedTypefaceMetrics()
496 SkAdvancedTypefaceMetrics* info = in onGetAdvancedTypefaceMetrics()
501 info->fType = SkAdvancedTypefaceMetrics::kOther_Font; in onGetAdvancedTypefaceMetrics()
/external/skia/include/core/
DSkTypeface.h27 class SkAdvancedTypefaceMetrics; variable
350 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
404 SkAdvancedTypefaceMetrics* getAdvancedTypefaceMetrics(
/external/skia/src/fonts/
DSkTestScalerContext.cpp149 SkAdvancedTypefaceMetrics* SkTestTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
154 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
DSkRandomScalerContext.h30 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkGScalerContext.h25 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkTestScalerContext.h68 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkRandomScalerContext.cpp208 SkAdvancedTypefaceMetrics* SkRandomTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
DSkGScalerContext.cpp161 SkAdvancedTypefaceMetrics* SkGTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
/external/skia/tests/
DTypefaceTest.cpp195 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
DFontMgrTest.cpp130 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( in test_matchStyleCSS3()
/external/skia/gn/
Dcore.gni18 "$_src/core/SkAdvancedTypefaceMetrics.h",