diff --git a/src/renderer/sw_engine/tvgSwShape.cpp b/src/renderer/sw_engine/tvgSwShape.cpp index 8cad462f..03261a4b 100644 --- a/src/renderer/sw_engine/tvgSwShape.cpp +++ b/src/renderer/sw_engine/tvgSwShape.cpp @@ -383,7 +383,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; }