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

@@ -187,6 +187,7 @@ impl Tracer {
let character = (*slot as char).to_string();
self.character(state, *font, if *ligature { original } else { &character }, out)?;
}
TextNode::OpenType(run) => self.character(state, run.font.id, &run.text, out)?,
TextNode::MathChar(b) => {
if let Some(g) = &b.math_geometry
&& g.items.len() == 1