Home
last modified time | relevance | path

Searched refs:SkAdvancedTypefaceMetrics (Results 1 – 25 of 25) 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 {
29 SkAdvancedTypefaceMetrics() in SkAdvancedTypefaceMetrics() function
30 : fType(SkAdvancedTypefaceMetrics::kOther_Font) in SkAdvancedTypefaceMetrics()
31 , fFlags(SkAdvancedTypefaceMetrics::kEmpty_FontFlag) in SkAdvancedTypefaceMetrics()
130 void resetRange(SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range,
134 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* appendRange(
135 SkAutoTDelete<SkAdvancedTypefaceMetrics::AdvanceMetric<Data> >* nextSlot,
140 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range,
142 typename SkAdvancedTypefaceMetrics::AdvanceMetric<Data>::MetricType
155 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* getAdvanceData(
DSkTypeface.cpp47 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
284 SkAdvancedTypefaceMetrics* SkTypeface::getAdvancedTypefaceMetrics( in getAdvancedTypefaceMetrics()
288 SkAdvancedTypefaceMetrics* result = in getAdvancedTypefaceMetrics()
290 if (result && result->fType == SkAdvancedTypefaceMetrics::kTrueType_Font) { in getAdvancedTypefaceMetrics()
298 result->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in getAdvancedTypefaceMetrics()
300 SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag); in getAdvancedTypefaceMetrics()
303 result->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in getAdvancedTypefaceMetrics()
305 SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag); in getAdvancedTypefaceMetrics()
/external/skia/src/pdf/
DSkPDFFont.cpp317 const SkAdvancedTypefaceMetrics::VerticalMetric& advance, in appendVerticalAdvance()
327 SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* advanceInfo, in composeAdvanceData()
335 case SkAdvancedTypefaceMetrics::WidthRange::kDefault: { in composeAdvanceData()
340 case SkAdvancedTypefaceMetrics::WidthRange::kRange: { in composeAdvanceData()
349 case SkAdvancedTypefaceMetrics::WidthRange::kRun: { in composeAdvanceData()
750 SkAdvancedTypefaceMetrics::FontType SkPDFFont::getType() { in getType()
756 SkASSERT(fFontType == SkAdvancedTypefaceMetrics::kOther_Font); in canEmbed()
760 SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag) == 0; in canEmbed()
765 SkASSERT(fFontType == SkAdvancedTypefaceMetrics::kOther_Font); in canSubset()
769 SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag) == 0; in canSubset()
[all …]
DSkPDFFont.h93 virtual SkAdvancedTypefaceMetrics::FontType getType();
160 SkPDFFont(const SkAdvancedTypefaceMetrics* fontInfo,
165 const SkAdvancedTypefaceMetrics* fontInfo();
166 void setFontInfo(const SkAdvancedTypefaceMetrics* info);
189 const SkAdvancedTypefaceMetrics* fontInfo,
203 SkAutoTUnref<const SkAdvancedTypefaceMetrics> fFontInfo;
206 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.cpp332 SkAdvancedTypefaceMetrics* DWriteFontTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
337 SkAdvancedTypefaceMetrics* info = nullptr; in onGetAdvancedTypefaceMetrics()
346 info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
371 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics()
396 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style; in onGetAdvancedTypefaceMetrics()
400 info->fStyle |= SkAdvancedTypefaceMetrics::kItalic_Style; in onGetAdvancedTypefaceMetrics()
404 info->fStyle |= SkAdvancedTypefaceMetrics::kScript_Style; in onGetAdvancedTypefaceMetrics()
409 info->fStyle |= SkAdvancedTypefaceMetrics::kSerif_Style; in onGetAdvancedTypefaceMetrics()
451 SkAdvancedTypefaceMetrics::WidthRange::kDefault); in onGetAdvancedTypefaceMetrics()
DSkFontHost_FreeType.cpp458 SkAdvancedTypefaceMetrics* SkTypeface_FreeType::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
471 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
473 info->fFlags = SkAdvancedTypefaceMetrics::kEmpty_FontFlag; in onGetAdvancedTypefaceMetrics()
475 info->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in onGetAdvancedTypefaceMetrics()
476 info->fFlags, SkAdvancedTypefaceMetrics::kMultiMaster_FontFlag); in onGetAdvancedTypefaceMetrics()
479 info->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in onGetAdvancedTypefaceMetrics()
481 SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag); in onGetAdvancedTypefaceMetrics()
484 info->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in onGetAdvancedTypefaceMetrics()
486 SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag); in onGetAdvancedTypefaceMetrics()
494 info->fType = SkAdvancedTypefaceMetrics::kType1_Font; in onGetAdvancedTypefaceMetrics()
[all …]
DSkFontHost_win.cpp261 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
1730 SkAdvancedTypefaceMetrics* LogFontTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
1735 SkAdvancedTypefaceMetrics* info = nullptr; in onGetAdvancedTypefaceMetrics()
1765 info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
1773 info->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( in onGetAdvancedTypefaceMetrics()
1775 SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag); in onGetAdvancedTypefaceMetrics()
1784 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics()
1791 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style; in onGetAdvancedTypefaceMetrics()
1794 info->fStyle |= SkAdvancedTypefaceMetrics::kItalic_Style; in onGetAdvancedTypefaceMetrics()
1797 info->fStyle |= SkAdvancedTypefaceMetrics::kSerif_Style; in onGetAdvancedTypefaceMetrics()
[all …]
DSkFontHost_FreeType_common.h81 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkFontHost_mac.cpp473 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
1558 SkAdvancedTypefaceMetrics* SkTypeface_Mac::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
1569 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
1594 info->fType = SkAdvancedTypefaceMetrics::kTrueType_Font; in onGetAdvancedTypefaceMetrics()
1597 info->fStyle |= SkAdvancedTypefaceMetrics::kFixedPitch_Style; in onGetAdvancedTypefaceMetrics()
1600 info->fStyle |= SkAdvancedTypefaceMetrics::kItalic_Style; in onGetAdvancedTypefaceMetrics()
1604 info->fStyle |= SkAdvancedTypefaceMetrics::kSerif_Style; in onGetAdvancedTypefaceMetrics()
1606 info->fStyle |= SkAdvancedTypefaceMetrics::kScript_Style; in onGetAdvancedTypefaceMetrics()
1643 if (info->fStyle & SkAdvancedTypefaceMetrics::kFixedPitch_Style) { in onGetAdvancedTypefaceMetrics()
1647 SkAdvancedTypefaceMetrics::WidthRange::kDefault); in onGetAdvancedTypefaceMetrics()
DSkTypeface_win_dw.h101 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()
DFontMgrTest.cpp132 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( in test_matchStyleCSS3()
/external/skia/include/core/
DSkTypeface.h26 class SkAdvancedTypefaceMetrics; variable
341 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
392 SkAdvancedTypefaceMetrics* getAdvancedTypefaceMetrics(
/external/skia/src/fonts/
DSkTestScalerContext.cpp144 SkAdvancedTypefaceMetrics* SkTestTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
149 SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; in onGetAdvancedTypefaceMetrics()
DSkGScalerContext.h25 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkRandomScalerContext.h30 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkTestScalerContext.h71 SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
DSkRandomScalerContext.cpp211 SkAdvancedTypefaceMetrics* SkRandomTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
DSkGScalerContext.cpp178 SkAdvancedTypefaceMetrics* SkGTypeface::onGetAdvancedTypefaceMetrics( in onGetAdvancedTypefaceMetrics()
/external/skia/src/doc/
DSkDocument_PDF.cpp281 int counts[SkAdvancedTypefaceMetrics::kOther_Font + 1],
285 (SkAdvancedTypefaceMetrics::kOther_Font + 1));
/external/skia/gyp/
Dcore.gypi21 '<(skia_src_path)/core/SkAdvancedTypefaceMetrics.cpp',
22 '<(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.mk99 src/core/SkAdvancedTypefaceMetrics.cpp \