Implement XeTeX contextual interword spacing and shipout shaping
This commit is contained in:
1 parent
7e5428ec35
commit
4a77540e46
23 files changed
+491
-42
No files matched your search
@@ -215,7 +215,7 @@ impl Tracer {
|
||||
| TextNode::Mark(_)
|
||||
| TextNode::Output(_) => out.push_str("[]"),
|
||||
TextNode::Rule(_) => out.push('|'),
|
||||
TextNode::Glue(g)
|
||||
TextNode::Glue(g) | TextNode::FontSpace(g, _, _)
|
||||
| TextNode::NamedGlue(g, _)
|
||||
| TextNode::Leaders(LeaderGlue { glue: g, .. }) => {
|
||||
if !g.canonical_zero {
|
||||
@@ -234,7 +234,7 @@ impl Tracer {
|
||||
i += usize::from(*replacement_count);
|
||||
}
|
||||
TextNode::Kern { .. } | TextNode::AccentKern(_) | TextNode::Penalty(_)
|
||||
| TextNode::AutoKern(_) | TextNode::MarginKern { .. } => {}
|
||||
| TextNode::AutoKern(_) | TextNode::SpaceAdjustment(_) | TextNode::MarginKern { .. } => {}
|
||||
}
|
||||
i += 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user