Index: src/core/SkTypeface.cpp |
diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp |
index 4da27388e7e4e45d349523f7ba191cea3853debd..f4e8121dfe9169cc3a96546f9f839f91fbdb2232 100644 |
--- a/src/core/SkTypeface.cpp |
+++ b/src/core/SkTypeface.cpp |
@@ -233,6 +233,14 @@ int SkTypeface::getUnitsPerEm() const { |
return this->onGetUPEM(); |
} |
+bool SkTypeface::getKerningPairAdjustments(const uint16_t glyphs[], int count, |
+ int32_t adjustments[]) const { |
+ if (count <= 1) { |
+ return false; |
+ } |
+ return this->onGetKerningPairAdjustments(glyphs, count, adjustments); |
+} |
+ |
SkTypeface::LocalizedStrings* SkTypeface::createFamilyNameIterator() const { |
return this->onCreateFamilyNameIterator(); |
} |
@@ -254,3 +262,11 @@ SkAdvancedTypefaceMetrics* SkTypeface::getAdvancedTypefaceMetrics( |
SkTypeface* SkTypeface::refMatchingStyle(Style style) const { |
return this->onRefMatchingStyle(style); |
} |
+ |
+/////////////////////////////////////////////////////////////////////////////// |
+ |
+bool SkTypeface::onGetKerningPairAdjustments(const uint16_t glyphs[], int count, |
+ int32_t adjustments[]) const { |
+ return false; |
+} |
+ |