Build native PDF article threads and bead rings

This commit is contained in:
gloamxun committed 2026-11-28 16:03:37 +08:00
1 parent de4bd1fa76
commit 4fb0f2c89b
15 files changed
+528 -28

No files matched your search

@@ -1013,6 +1013,9 @@ impl NativeBox {
level,
};
let mut cursor = y - self.height;
if links {
emit(edge, cursor, BoxPaint::RowStart(container));
}
let (mut cumulative, mut previous) = (0, 0);
for node in nodes.iter() {
budget.inside_leader(1)?;
@@ -1112,7 +1115,8 @@ impl NativeBox {
&& !matches!(paint, BoxPaint::PdfLink(node, _) if matches!(
node.operation,
OutputOperation::PdfLink(crate::pdf_device::links::LinkNode::Destination { .. }
| crate::pdf_device::links::LinkNode::Annotation { .. })
| crate::pdf_device::links::LinkNode::Annotation { .. }
| crate::pdf_device::links::LinkNode::Thread { .. })
))
{
emit(x, y, paint);