Apply native font protrusion during line breaking and packing

This commit is contained in:
gloamxun committed 2026-11-20 17:18:25 +08:00
1 parent 361e8d070f
commit 4777d66fc8
22 files changed
+441 -32

No files matched your search

@@ -230,7 +230,8 @@ impl<'a> Tracer<'a> {
self.short(post_break, out)?;
i += usize::from(*replacement_count);
}
TextNode::Kern { .. } | TextNode::AccentKern(_) | TextNode::Penalty(_) => {}
TextNode::Kern { .. } | TextNode::AccentKern(_) | TextNode::Penalty(_)
| TextNode::MarginKern { .. } => {}
}
i += 1;
}