mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 20:32:49 +00:00
comment out debug info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19969 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fb74d5a476
commit
aef5a7b9f7
@ -314,8 +314,8 @@ int GuiPainter::text(int x, int y, docstring const & s,
|
|||||||
// We need to draw the text as LTR as we use our own bidi code.
|
// We need to draw the text as LTR as we use our own bidi code.
|
||||||
setLayoutDirection(Qt::LeftToRight);
|
setLayoutDirection(Qt::LeftToRight);
|
||||||
drawText(x, y, str);
|
drawText(x, y, str);
|
||||||
LYXERR(Debug::PAINTING) << "draw " << std::string(str.toUtf8())
|
//LYXERR(Debug::PAINTING) << "draw " << std::string(str.toUtf8())
|
||||||
<< " at " << x << "," << y << std::endl;
|
// << " at " << x << "," << y << std::endl;
|
||||||
return textwidth;
|
return textwidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -347,9 +347,9 @@ int GuiPainter::text(int x, int y, docstring const & s,
|
|||||||
p.setLayoutDirection(Qt::LeftToRight);
|
p.setLayoutDirection(Qt::LeftToRight);
|
||||||
p.drawText(-lb, mA, str);
|
p.drawText(-lb, mA, str);
|
||||||
QPixmapCache::insert(key, pm);
|
QPixmapCache::insert(key, pm);
|
||||||
LYXERR(Debug::PAINTING) << "h=" << h << " mA=" << mA << " mD=" << mD
|
//LYXERR(Debug::PAINTING) << "h=" << h << " mA=" << mA << " mD=" << mD
|
||||||
<< " w=" << w << " lb=" << lb << " tw=" << textwidth
|
// << " w=" << w << " lb=" << lb << " tw=" << textwidth
|
||||||
<< " rb=" << rb << endl;
|
// << " rb=" << rb << endl;
|
||||||
}
|
}
|
||||||
// Draw the cached pixmap.
|
// Draw the cached pixmap.
|
||||||
drawPixmap(x + lb, y - mA, pm);
|
drawPixmap(x + lb, y - mA, pm);
|
||||||
|
Loading…
Reference in New Issue
Block a user