diff --git a/src/renderer/sw_engine/tvgSwShape.cpp b/src/renderer/sw_engine/tvgSwShape.cpp index 27d91530..1a0bdc2f 100644 --- a/src/renderer/sw_engine/tvgSwShape.cpp +++ b/src/renderer/sw_engine/tvgSwShape.cpp @@ -356,7 +356,7 @@ static float _outlineLength(const RenderShape* rshape) break; } case PathCommand::CubicTo: { - length += bezLengthApprox({*(pts - 1), *pts, *(pts + 1), *(pts + 2)}); + length += bezLength({*(pts - 1), *pts, *(pts + 1), *(pts + 2)}); pts += 3; break; }