HomeSort by relevance Sort by last modified time
    Searched refs:SkAdvancedTypefaceMetrics (Results 1 - 23 of 23) sorted by null

  /external/skia/src/pdf/
SkPDFFont.h 12 #include "SkAdvancedTypefaceMetrics.h"
42 SkAdvancedTypefaceMetrics::FontType getType() const { return fFontType; }
44 static SkAdvancedTypefaceMetrics::FontType FontType(const SkAdvancedTypefaceMetrics&);
46 static bool IsMultiByte(SkAdvancedTypefaceMetrics::FontType type) {
47 return type == SkAdvancedTypefaceMetrics::kType1CID_Font ||
48 type == SkAdvancedTypefaceMetrics::kTrueType_Font;
91 * SkAdvancedTypefaceMetrics, and caches the result.
95 static const SkAdvancedTypefaceMetrics* GetMetrics(SkTypeface* typeface,
115 SkAdvancedTypefaceMetrics::FontType fFontType
    [all...]
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) {
138 return !SkToBool(metrics.fFlags & SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag);
141 const SkAdvancedTypefaceMetrics* SkPDFFont::GetMetrics(SkTypeface* typeface,
145 if (SkAdvancedTypefaceMetrics** ptr = canon->fTypefaceMetrics.find(id)) {
154 sk_sp<SkAdvancedTypefaceMetrics> metrics(
159 metrics = sk_make_sp<SkAdvancedTypefaceMetrics>();
164 SkAdvancedTypefaceMetrics::FontType SkPDFFont::FontType(const SkAdvancedTypefaceMetrics& metrics)
    [all...]
SkPDFCanon.h 17 class SkAdvancedTypefaceMetrics;
59 SkTHashMap<uint32_t, SkAdvancedTypefaceMetrics*> fTypefaceMetrics;
SkPDFCanon.cpp 26 fTypefaceMetrics.foreach(UnrefValue<uint32_t, SkAdvancedTypefaceMetrics>());
SkPDFDevice.cpp 10 #include "SkAdvancedTypefaceMetrics.h"
    [all...]
  /external/skia/src/core/
SkAdvancedTypefaceMetrics.h 17 /** \class SkAdvancedTypefaceMetrics
19 The SkAdvancedTypefaceMetrics class is used by the PDF backend to correctly
23 class SkAdvancedTypefaceMetrics : public SkRefCnt {
26 SkAdvancedTypefaceMetrics()
27 : fType(SkAdvancedTypefaceMetrics::kOther_Font)
37 ~SkAdvancedTypefaceMetrics() {}
94 template <> struct is_bitmask_enum<SkAdvancedTypefaceMetrics::FontFlags> : std::true_type {};
95 template <> struct is_bitmask_enum<SkAdvancedTypefaceMetrics::StyleFlags> : std::true_type {};
SkTypeface.cpp 8 #include "SkAdvancedTypefaceMetrics.h"
53 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
299 SkAdvancedTypefaceMetrics* SkTypeface::getAdvancedTypefaceMetrics(
303 SkAdvancedTypefaceMetrics* result =
305 if (result && result->fType == SkAdvancedTypefaceMetrics::kTrueType_Font) {
311 result->fFlags |= SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag;
314 result->fFlags |= SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag;
  /external/skia/include/core/
SkTypeface.h 27 class SkAdvancedTypefaceMetrics;
350 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
404 SkAdvancedTypefaceMetrics* getAdvancedTypefaceMetrics(
  /external/skia/src/ports/
SkTypeface_win_dw.cpp 319 SkAdvancedTypefaceMetrics* DWriteFontTypeface::onGetAdvancedTypefaceMetrics(
324 SkAdvancedTypefaceMetrics* info = nullptr;
333 info = new SkAdvancedTypefaceMetrics;
339 // SkAdvancedTypefaceMetrics::fFontName is in theory supposed to be
366 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font;
383 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style;
387 info->fStyle |= SkAdvancedTypefaceMetrics::kItalic_Style;
403 info->fStyle |= SkAdvancedTypefaceMetrics::kSerif_Style;
407 info->fStyle |= SkAdvancedTypefaceMetrics::kScript_Style;
SkFontHost_FreeType_common.h 83 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
SkFontHost_FreeType.cpp 8 #include "SkAdvancedTypefaceMetrics.h"
543 SkAdvancedTypefaceMetrics* SkTypeface_FreeType::onGetAdvancedTypefaceMetrics(
553 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics;
557 info->fFlags |= SkAdvancedTypefaceMetrics::kMultiMaster_FontFlag;
560 info->fFlags |= SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag;
563 info->fFlags |= SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag;
568 info->fType = SkAdvancedTypefaceMetrics::kType1_Font;
570 info->fType = SkAdvancedTypefaceMetrics::kType1CID_Font;
572 info->fType = SkAdvancedTypefaceMetrics::kCFF_Font
    [all...]
SkTypeface_win_dw.h 11 #include "SkAdvancedTypefaceMetrics.h"
107 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
SkFontHost_mac.cpp 22 #include "SkAdvancedTypefaceMetrics.h"
505 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
    [all...]
SkFontHost_win.cpp 11 #include "SkAdvancedTypefaceMetrics.h"
262 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
    [all...]
SkFontMgr_fontconfig.cpp 8 #include "SkAdvancedTypefaceMetrics.h"
492 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(PerGlyphInfo perGlyphInfo,
496 SkAdvancedTypefaceMetrics* info =
501 info->fType = SkAdvancedTypefaceMetrics::kOther_Font;
    [all...]
  /external/skia/src/fonts/
SkGScalerContext.h 25 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
SkRandomScalerContext.h 30 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
SkTestScalerContext.h 68 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
SkTestScalerContext.cpp 8 #include "SkAdvancedTypefaceMetrics.h"
149 SkAdvancedTypefaceMetrics* SkTestTypeface::onGetAdvancedTypefaceMetrics(
154 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics;
SkGScalerContext.cpp 161 SkAdvancedTypefaceMetrics* SkGTypeface::onGetAdvancedTypefaceMetrics(
SkRandomScalerContext.cpp 208 SkAdvancedTypefaceMetrics* SkRandomTypeface::onGetAdvancedTypefaceMetrics(
  /external/skia/tests/
TypefaceTest.cpp 195 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
FontMgrTest.cpp 130 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(

Completed in 1947 milliseconds