Implement XeTeX OpenType letterspacing and contextual line widths

This commit is contained in:
gloamxun committed 2026-11-26 09:59:27 +08:00
1 parent 4a77540e46
commit cc0246016d
10 files changed
+223 -97

No files matched your search

@@ -92,6 +92,9 @@ fn shape_row(
let TextNode::OpenType(first) = node else {
continue;
};
if first.font.letter_space() != 0 {
continue;
}
let mut text = String::new();
let mut sources = Vec::new();
let mut units = 0;