Preserve conditional math glue through native layout
This commit is contained in:
1 parent
91bb864d8c
commit
745c33fd44
18 files changed
+152
-25
No files matched your search
@@ -268,7 +268,8 @@ fn first_script_char(field: &MathField, mut style: MathStyle) -> Option<(MathCha
|
||||
match node {
|
||||
MathNode::Style(next) => style = *next,
|
||||
MathNode::Choice(branches) => list = &branches[usize::from(style as u8 / 2)],
|
||||
MathNode::Kern { .. } | MathNode::Glue(_) | MathNode::ExplicitSpace(..) => {}
|
||||
MathNode::Kern { .. } | MathNode::Glue(_) | MathNode::ExplicitSpace(..)
|
||||
| MathNode::ConditionalMathGlue => {}
|
||||
MathNode::Noad(n)
|
||||
if n.class != NoadClass::Inner
|
||||
&& n.accent.is_none()
|
||||
|
||||
Reference in new issue
Block a user