mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Avoid random kerning values.
* src/mathed/MathData.C (MathArray::metrics): Explicitly initialize kerning_ as it may contain random data when the nucleus is an empty MathFont inset. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17560 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
642adc3eb7
commit
a33f6ed840
@ -251,6 +251,7 @@ void MathArray::metrics(MetricsInfo & mi) const
|
||||
mindes_ = (3 * xascent) / 4;
|
||||
slevel_ = (4 * xascent) / 5;
|
||||
sshift_ = xascent / 4;
|
||||
kerning_ = 0;
|
||||
|
||||
if (empty())
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user