From aac587638f238311d9ac828e517a765ec885270d Mon Sep 17 00:00:00 2001 From: KeShih Date: Sun, 6 Oct 2024 18:49:27 +0800 Subject: [PATCH] fix gap --- src/Typeset/Concat/concat_math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Typeset/Concat/concat_math.cpp b/src/Typeset/Concat/concat_math.cpp index a8a9493a3..afe6be1d0 100644 --- a/src/Typeset/Concat/concat_math.cpp +++ b/src/Typeset/Concat/concat_math.cpp @@ -473,7 +473,7 @@ concater_rep::typeset_sqrt (tree t, path ip) { (lfn->math_type == MATH_TYPE_OPENTYPE) && (lfn->sqrt_ver_gap > 0); if (use_opentype) { gap= (disp ? lfn->sqrt_ver_disp_gap : lfn->sqrt_ver_gap) + - (sep >> 1); + (lfn->wline >> 1); } box sqrtb= delimiter_box (decorate_left (ip), "", lfn, env->pen, b->y1, b->y2 + gap);