Shape and render explicit OpenType fonts in native Unicode jobs

This commit is contained in:
gloamxun committed 2026-11-21 10:35:03 +08:00
1 parent 3caf1eced2
commit 70822cbd94
33 files changed
+1255 -80

No files matched your search

@@ -133,6 +133,13 @@ impl NativeShipout {
}
let x = self.device.horizontal_origin + p.x;
let y = self.device.vertical_origin + self.box_node.height + p.y;
if let MathItem::OpenType(run) = p.item {
run.paint(x, y, |value| value, |item, source| {
page.sources.insert(page.items.len(), source);
page.items.push(item);
});
return;
}
page.items.push(match p.item {
MathItem::NativeGlyph {
font,