Skip to content

Commit

Permalink
fix mtest
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Jun 24, 2014
1 parent 83ead22 commit 0826e2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libmscore/text.cpp
Expand Up @@ -277,7 +277,10 @@ void TextBlock::layout(Text* t)
f.pos.setY(0.0);
qreal w;
QRectF r;
r = fm.boundingRect(f.text).translated(f.pos);
if (f.format.type() == CharFormatType::SYMBOL)
r = fm.tightBoundingRect(f.text).translated(f.pos);
else
r = fm.boundingRect(f.text).translated(f.pos);
w = fm.width(f.text);
_bbox |= r;
x += w;
Expand Down

0 comments on commit 0826e2e

Please sign in to comment.