From d610678c9bd68f6b79a060cd3db535b6dcd35d70 Mon Sep 17 00:00:00 2001 From: Smillence Date: Mon, 31 May 2021 14:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E8=8B=B1=E6=96=87=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global/getRowlen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global/getRowlen.js b/src/global/getRowlen.js index 653afbf..4956659 100644 --- a/src/global/getRowlen.js +++ b/src/global/getRowlen.js @@ -1002,7 +1002,7 @@ function getCellTextInfo(cell , ctx, option){ if(preMeasureText!=null){ spaceOrTwoByte = { index:i, - str:preStr, + str:preStr + lastWord, width:preTextWidth, height:preTextHeight, asc:preMeasureText.actualBoundingBoxAscent,