// We need to draw the text as LTR as we use our own bidi code.
setLayoutDirection(Qt::LeftToRight);
if (isDrawingEnabled()) {
// We need to draw the text as LTR as we use our own bidi code.
setLayoutDirection(Qt::LeftToRight);
if (isDrawingEnabled()) {
- lyxerr << "draw " << std::string(str.toUtf8()) << " at " << x << "," << y << std::endl;
+ lyxerr[Debug::PAINTING] << "draw " << std::string(str.toUtf8())
+ << " at " << x << "," << y << std::endl;
drawText(x, y, str);
}
// Here we use the font width cache instead of
drawText(x, y, str);
}
// Here we use the font width cache instead of