Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99e95b0e authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Code cleaning - suppress non useful code

Change-Id: I3f3bffdd1f5d64a6b601d56bee3b5fc8147086bd
parent 790ac975
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -249,21 +249,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) {