diff --git a/android/src/main/java/com/horcrux/svg/Brush.java b/android/src/main/java/com/horcrux/svg/Brush.java index 88c8d0381..36c191753 100644 --- a/android/src/main/java/com/horcrux/svg/Brush.java +++ b/android/src/main/java/com/horcrux/svg/Brush.java @@ -204,7 +204,7 @@ void setupPaint(Paint paint, RectF pathBoundingBox, float scale, float opacity) double ratio = ry / rx; double cx = getVal(mPoints[4], width, scale, textSize) + offsetX; - double cy = getVal(mPoints[5], height, scale, textSize) + offsetY / ratio; + double cy = getVal(mPoints[5], height / ratio, scale, textSize) + offsetY / ratio; // TODO: support focus point. //double fx = PropHelper.fromRelative(mPoints[0], width, offsetX, scale);