Integrate native repeat boxes and PDF bookmarks

This commit is contained in:
gloamxun committed 2026-11-19 16:06:28 +08:00
1 parent 5163fc9854
commit 38e4822370
33 files changed
+1208 -143

No files matched your search

@@ -143,7 +143,9 @@ impl BreakNode {
| TextNode::Output(_)
| TextNode::MathChar(_)
| TextNode::Indent(_) => Self::Content(width(node)),
TextNode::Glue(glue) | TextNode::NamedGlue(glue, _) => Self::Glue(*glue),
TextNode::Glue(glue)
| TextNode::NamedGlue(glue, _)
| TextNode::Leaders(LeaderGlue { glue, .. }) => Self::Glue(*glue),
TextNode::Kern { width, explicit } => Self::Kern {
width: *width,
explicit: *explicit,