fix: update punctuation width when scaling the page #712
This commit is contained in:
@@ -1580,10 +1580,11 @@ export class Draw {
|
||||
}
|
||||
}
|
||||
// 标点符号
|
||||
curRowWidth += this.textParticle.measurePunctuationWidth(
|
||||
const punctuationWidth = this.textParticle.measurePunctuationWidth(
|
||||
ctx,
|
||||
nextElement
|
||||
)
|
||||
curRowWidth += punctuationWidth * scale
|
||||
}
|
||||
}
|
||||
// 列表信息
|
||||
|
||||
Reference in New Issue
Block a user