|
|
|
@ -111,7 +111,7 @@ export class Draw {
|
|
|
|
if (curRow.width + width > rightTopPoint[0] - leftTopPoint[0] || (i !== 0 && element.value === ZERO)) {
|
|
|
|
if (curRow.width + width > rightTopPoint[0] - leftTopPoint[0] || (i !== 0 && element.value === ZERO)) {
|
|
|
|
rowList.push({
|
|
|
|
rowList.push({
|
|
|
|
width,
|
|
|
|
width,
|
|
|
|
height: 0,
|
|
|
|
height: this.options.defaultSize,
|
|
|
|
elementList: [lineText],
|
|
|
|
elementList: [lineText],
|
|
|
|
ascent: fontBoundingBoxAscent
|
|
|
|
ascent: fontBoundingBoxAscent
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|