diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-01 15:43:23 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-01 15:43:23 +0100 |
| commit | aa0f03fe0461a009b372d4868ea96f85b8bafe62 (patch) | |
| tree | 05e4c6e8eb68b5d73a74359dadf6cf5e33a6a033 /library/src/math/attach.rs | |
| parent | 8377159e21cb16333e5055a85e262a4171146693 (diff) | |
Treat italics correction differently
Diffstat (limited to 'library/src/math/attach.rs')
| -rw-r--r-- | library/src/math/attach.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/library/src/math/attach.rs b/library/src/math/attach.rs index cc523e0e..110ea4b7 100644 --- a/library/src/math/attach.rs +++ b/library/src/math/attach.rs @@ -192,11 +192,8 @@ fn scripts( } let italics = base.italics_correction(); + let sup_delta = Abs::zero(); let sub_delta = -italics; - let sup_delta = match base.class() { - Some(MathClass::Large) => Abs::zero(), - _ => italics, - }; let mut width = Abs::zero(); let mut ascent = base.ascent(); |
