Skip to content

Commit

Permalink
Merge pull request #1404 from vivliostyle/fix/issue1401
Browse files Browse the repository at this point in the history
fix: Broken text layout at page break when ruby-text font size is larger than usual
  • Loading branch information
MurakamiShinyu authored Oct 28, 2024
2 parents 3ac2dcc + 2bb4d0e commit ed02eae
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 ed02eae

Please sign in to comment.