diff options
| -rw-r--r-- | core/jni/android/graphics/TextLayoutCache.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/core/jni/android/graphics/TextLayoutCache.h b/core/jni/android/graphics/TextLayoutCache.h index 36b7404e1a7e..bced40c8e9d4 100644 --- a/core/jni/android/graphics/TextLayoutCache.h +++ b/core/jni/android/graphics/TextLayoutCache.h @@ -258,21 +258,6 @@ public: } } -#define SkAutoKern_AdjustF(prev, next) (((next) - (prev) + 32) >> 6 << 16) - - static int adjust(int prev, int next) { - int delta = next - prev; - if (delta >= 32) { - return -1; - } - else if (delta < -32) { - return +1; - } - else { - return 0; - } - } - static void computeAdvancesWithHarfbuzz(SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags, jfloat* outAdvances, jfloat* outTotalAdvance) { |