Skip to content

Commit

Permalink
fix: Broken text layout at page break when ruby-text font size is lar…
Browse files Browse the repository at this point in the history
…ger than usual

- fix #1401
  • Loading branch information
MurakamiShinyu committed Oct 25, 2024
1 parent 3ac2dcc commit 2bb4d0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/src/vivliostyle/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2103,8 +2103,11 @@ export class Column extends VtreeImpl.Container implements Layout.Column {
}
range.setStartBefore(node);
haveStart = true;
lastGood = node;
} else if (element.localName !== "ruby") {
// Fix for issue #1319 and #1401
lastGood = node;
}
lastGood = node;
if (node.contains(end)) {
endNotReached = false;
}
Expand Down

0 comments on commit 2bb4d0e

Please sign in to comment.