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/row.rs | |
| parent | 8377159e21cb16333e5055a85e262a4171146693 (diff) | |
Treat italics correction differently
Diffstat (limited to 'library/src/math/row.rs')
| -rw-r--r-- | library/src/math/row.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/library/src/math/row.rs b/library/src/math/row.rs index 5862bfc6..d971ce22 100644 --- a/library/src/math/row.rs +++ b/library/src/math/row.rs @@ -59,10 +59,6 @@ impl MathRow { } let mut amount = Abs::zero(); - if let MathFragment::Glyph(glyph) = *prev { - amount += glyph.italics_correction; - } - amount += spacing(prev, &fragment, style, space, space_width).at(font_size); if !amount.is_zero() { |
