From 38851220a0597e7dd53acb1e7f226da275a28878 Mon Sep 17 00:00:00 2001 From: Koichi Yasuoka <yasuoka@kanji.zinbun.kyoto-u.ac.jp> Date: Sat, 19 Sep 2020 17:26:38 +0900 Subject: [PATCH] bug fix --- conllusvg/conllusvgRtoL.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conllusvg/conllusvgRtoL.js b/conllusvg/conllusvgRtoL.js index 58cb1f81fec..fffc7ed6ba6 100644 --- a/conllusvg/conllusvgRtoL.js +++ b/conllusvg/conllusvgRtoL.js @@ -238,7 +238,7 @@ conllusvg.writeLinksSVGdouble=function(link){ link.svg.appendChild(t); lower.w=t.getBBox().width; if(lower.len-lower.w<5){ - t.setAttribute("transform","scale("+((lower.len-5)/lower.w)+",1)"); + t.setAttribute("transform","scale("+(-(lower.len-5)/lower.w)+",1)"); t.setAttribute("x",lower.fromX*lower.w/(lower.len-5)); lower.w=lower.len-5; } -- GitLab