Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp40SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range) { in stripUninterestingTrailingAdvancesFromRange()
46SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t>* range) { in stripUninterestingTrailingAdvancesFromRange()
65 void resetRange(SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range, in resetRange()
72 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* appendRange( in appendRange()
73 SkAutoTDelete<SkAdvancedTypefaceMetrics::AdvanceMetric<Data> >* nextSlot, in appendRange()
75 nextSlot->reset(new SkAdvancedTypefaceMetrics::AdvanceMetric<Data>); in appendRange()
82 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range) { in zeroWildcardsInRange()
88 SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t>* range) { in zeroWildcardsInRange()
90 if (range->fType != SkAdvancedTypefaceMetrics::WidthRange::kRange) { in zeroWildcardsInRange()
105 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range, in finishRange()
[all …]
DSkAdvancedTypefaceMetrics.h26 class SkAdvancedTypefaceMetrics : public SkRefCnt {
28 SK_DECLARE_INST_COUNT(SkAdvancedTypefaceMetrics) in SK_DECLARE_INST_COUNT() argument
118 void resetRange(SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range,
122 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* appendRange(
123 SkAutoTDelete<SkAdvancedTypefaceMetrics::AdvanceMetric<Data> >* nextSlot,
128 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range,
130 typename SkAdvancedTypefaceMetrics::AdvanceMetric<Data>::MetricType
143 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* getAdvanceData(
DSkTypeface.cpp37 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
267 SkAdvancedTypefaceMetrics* SkTypeface::getAdvancedTypefaceMetrics( in getAdvancedTypefaceMetrics()
271 SkAdvancedTypefaceMetrics* result = in getAdvancedTypefaceMetrics()
273 if (result && result->fType == SkAdvancedTypefaceMetrics::kTrueType_Font) { in getAdvancedTypefaceMetrics()
281 result->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in getAdvancedTypefaceMetrics()
283 SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag); in getAdvancedTypefaceMetrics()
286 result->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in getAdvancedTypefaceMetrics()
288 SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag); in getAdvancedTypefaceMetrics()
/external/skia/src/pdf/
DSkPDFFont.cpp318 const SkAdvancedTypefaceMetrics::VerticalMetric& advance, in appendVerticalAdvance()
328 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* advanceInfo, in composeAdvanceData()
336 case SkAdvancedTypefaceMetrics::WidthRange::kDefault: { in composeAdvanceData()
341 case SkAdvancedTypefaceMetrics::WidthRange::kRange: { in composeAdvanceData()
350 case SkAdvancedTypefaceMetrics::WidthRange::kRun: { in composeAdvanceData()
755 SkAdvancedTypefaceMetrics::FontType SkPDFFont::getType() { in getType()
761 SkASSERT(fFontType == SkAdvancedTypefaceMetrics::kOther_Font); in canEmbed()
765 SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag) == 0; in canEmbed()
770 SkASSERT(fFontType == SkAdvancedTypefaceMetrics::kOther_Font); in canSubset()
774 SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag) == 0; in canSubset()
[all …]
DSkPDFFont.h93 virtual SkAdvancedTypefaceMetrics::FontType getType();
154 SkPDFFont(const SkAdvancedTypefaceMetrics* fontInfo,
159 const SkAdvancedTypefaceMetrics* fontInfo();
160 void setFontInfo(const SkAdvancedTypefaceMetrics* info);
183 const SkAdvancedTypefaceMetrics* fontInfo,
197 SkAutoTUnref<const SkAdvancedTypefaceMetrics> fFontInfo;
200 SkAdvancedTypefaceMetrics::FontType fFontType;
DSkPDFFontImpl.h33 SkPDFType0Font(const SkAdvancedTypefaceMetrics* info,
47 SkPDFCIDFont(const SkAdvancedTypefaceMetrics* info,
64 SkPDFType1Font(const SkAdvancedTypefaceMetrics* info,
72 const SkAdvancedTypefaceMetrics::WidthRange* widthRangeEntry);
83 SkPDFType3Font(const SkAdvancedTypefaceMetrics* info,
/external/skia/src/ports/
DSkTypeface_win_dw.cpp324 SkAdvancedTypefaceMetrics* DWriteFontTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
329 SkAdvancedTypefaceMetrics* info = NULL; in onGetAdvancedTypefaceMetrics()
338 info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
342 info->fFlags = SkAdvancedTypefaceMetrics::kEmpty_FontFlag; in onGetAdvancedTypefaceMetrics()
365 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics()
367 info->fType = SkAdvancedTypefaceMetrics::kOther_Font; in onGetAdvancedTypefaceMetrics()
397 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style; in onGetAdvancedTypefaceMetrics()
401 info->fStyle |= SkAdvancedTypefaceMetrics::kItalic_Style; in onGetAdvancedTypefaceMetrics()
405 info->fStyle |= SkAdvancedTypefaceMetrics::kScript_Style; in onGetAdvancedTypefaceMetrics()
410 info->fStyle |= SkAdvancedTypefaceMetrics::kSerif_Style; in onGetAdvancedTypefaceMetrics()
[all …]
DSkFontHost_FreeType.cpp462 SkAdvancedTypefaceMetrics* SkTypeface_FreeType::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
475 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
477 info->fFlags = SkAdvancedTypefaceMetrics::kEmpty_FontFlag; in onGetAdvancedTypefaceMetrics()
479 info->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in onGetAdvancedTypefaceMetrics()
480 info->fFlags, SkAdvancedTypefaceMetrics::kMultiMaster_FontFlag); in onGetAdvancedTypefaceMetrics()
483 info->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in onGetAdvancedTypefaceMetrics()
485 SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag); in onGetAdvancedTypefaceMetrics()
488 info->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in onGetAdvancedTypefaceMetrics()
490 SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag); in onGetAdvancedTypefaceMetrics()
498 info->fType = SkAdvancedTypefaceMetrics::kType1_Font; in onGetAdvancedTypefaceMetrics()
[all …]
DSkFontHost_mac.cpp456 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
1546 SkAdvancedTypefaceMetrics* SkTypeface_Mac::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
1554 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
1566 info->fFlags = SkAdvancedTypefaceMetrics::kEmpty_FontFlag; in onGetAdvancedTypefaceMetrics()
1578 info->fType = SkAdvancedTypefaceMetrics::kOther_Font; in onGetAdvancedTypefaceMetrics()
1588 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics()
1591 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style; in onGetAdvancedTypefaceMetrics()
1594 info->fStyle |= SkAdvancedTypefaceMetrics::kItalic_Style; in onGetAdvancedTypefaceMetrics()
1598 info->fStyle |= SkAdvancedTypefaceMetrics::kSerif_Style; in onGetAdvancedTypefaceMetrics()
1600 info->fStyle |= SkAdvancedTypefaceMetrics::kScript_Style; in onGetAdvancedTypefaceMetrics()
[all …]
DSkFontHost_win.cpp259 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
1733 SkAdvancedTypefaceMetrics* LogFontTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
1738 SkAdvancedTypefaceMetrics* info = NULL; in onGetAdvancedTypefaceMetrics()
1768 info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
1773 info->fFlags = SkAdvancedTypefaceMetrics::kEmpty_FontFlag; in onGetAdvancedTypefaceMetrics()
1778 info->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in onGetAdvancedTypefaceMetrics()
1780 SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag); in onGetAdvancedTypefaceMetrics()
1789 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics()
1791 info->fType = SkAdvancedTypefaceMetrics::kOther_Font; in onGetAdvancedTypefaceMetrics()
1803 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style; in onGetAdvancedTypefaceMetrics()
[all …]
DSkFontHost_FreeType_common.h64 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkTypeface_win_dw.h102 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
/external/skia/tests/
DWArrayTest.cpp101 static SkString stringify_advance_data(SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t>* data) { in stringify_advance_data()
111 case SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t>::kRun: in stringify_advance_data()
114 case SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t>::kRange: in stringify_advance_data()
124 case SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t>::kDefault: in stringify_advance_data()
164 SkAutoTDelete<SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t> > result; in RunTest()
/external/skia/include/core/
DSkTypeface.h25 class SkAdvancedTypefaceMetrics; variable
334 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
381 SkAdvancedTypefaceMetrics* getAdvancedTypefaceMetrics(
/external/skia/src/fonts/
DSkTestScalerContext.cpp143 SkAdvancedTypefaceMetrics* SkTestTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
148 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
153 info->fType = SkAdvancedTypefaceMetrics::kOther_Font; in onGetAdvancedTypefaceMetrics()
DSkGScalerContext.h25 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkTestScalerContext.h71 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkGScalerContext.cpp180 SkAdvancedTypefaceMetrics* SkGTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
/external/skia/src/utils/ios/
DSkFontHost_iOS.mm249 SkAdvancedTypefaceMetrics* SkFontHost::GetAdvancedTypefaceMetrics(
251SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo) {
/external/skia/src/doc/
DSkDocument_PDF.cpp247 int counts[SkAdvancedTypefaceMetrics::kOther_Font + 1],
251 (SkAdvancedTypefaceMetrics::kOther_Font + 1));
/external/skia/gyp/
Dcore.gypi20 '<(skia_src_path)/core/SkAdvancedTypefaceMetrics.cpp',
21 '<(skia_src_path)/core/SkAdvancedTypefaceMetrics.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj59 …064D447 /* SkAdvancedTypefaceMetrics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 260E020D13…
593SkAdvancedTypefaceMetrics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = so…
679SkAdvancedTypefaceMetrics.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
1606 260E01B313B1225D0064D447 /* SkAdvancedTypefaceMetrics.h */,
1727 260E020D13B1225D0064D447 /* SkAdvancedTypefaceMetrics.cpp */,
2956 260E02A313B1225D0064D447 /* SkAdvancedTypefaceMetrics.cpp in Sources */,
/external/skia/
DAndroid.mk90 src/core/SkAdvancedTypefaceMetrics.cpp \