diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-11 23:28:35 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-11 23:29:32 +0100 |
| commit | ca6edf5283c258d8410134d678347977cb273cdd (patch) | |
| tree | b2b46ba70c054b0cbdefa06edbc5fd999cddb1fa /library/src/math | |
| parent | 1a390deaea040191cf0e5937bd8e1427b49db71b (diff) | |
Jump to source and preview
Diffstat (limited to 'library/src/math')
| -rw-r--r-- | library/src/math/fragment.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/src/math/fragment.rs b/library/src/math/fragment.rs index 73daa4b2..de456b82 100644 --- a/library/src/math/fragment.rs +++ b/library/src/math/fragment.rs @@ -222,6 +222,8 @@ impl GlyphFragment { c: self.c, x_advance: Em::from_length(self.width, self.font_size), x_offset: Em::zero(), + span: Span::detached(), + offset: 0, }], }; let size = Size::new(self.width, self.ascent + self.descent); |
