mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Make the height of a formula at least the height of an 'I'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2660 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
067a4819b8
commit
781db21b32
@ -22,15 +22,13 @@ MathXArray::MathXArray()
|
||||
|
||||
void MathXArray::metrics(MathStyles st) const
|
||||
{
|
||||
if (data_.empty()) {
|
||||
mathed_char_dim(LM_TC_VAR, st, 'I', ascent_, descent_, width_);
|
||||
return;
|
||||
}
|
||||
|
||||
ascent_ = 0;
|
||||
descent_ = 0;
|
||||
width_ = 0;
|
||||
style_ = st;
|
||||
mathed_char_dim(LM_TC_VAR, st, 'I', ascent_, descent_, width_);
|
||||
|
||||
if (data_.empty())
|
||||
return;
|
||||
|
||||
width_ = 0;
|
||||
|
||||
//lyxerr << "MathXArray::metrics(): '" << data_ << "'\n";
|
||||
for (int pos = 0; pos < data_.size(); ++pos) {
|
||||
|
Loading…
Reference in New Issue
Block a user