first script stuff (still ugly and under experiments)

This commit is contained in:
Eduardo Bart
2011-04-18 23:10:08 -03:00
parent 3de455fe7e
commit bb05338190
11 changed files with 77 additions and 5 deletions

View File

@@ -279,7 +279,7 @@ const std::vector<Point>& Font::calculateGlyphsPositions(const std::string& text
if(textBoxSize) {
textBoxSize->setWidth(maxLineWidth);
textBoxSize->setHeight(virtualPos.y + m_glyphHeight + m_glyphSpacing.height());
textBoxSize->setHeight(virtualPos.y + m_glyphHeight);
}
return glyphsPositions;