Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.3.0
-
None
Description
With some fonts the top 1 pixel of the text is cut off when shown in a dialog.
This happens for example when showing a message with a QDialog and using the font "Hiragino Maru Gothic Pro".
Seen on Mac.
Please see example in message 25 from top: MessageBox-snapshot-20070212.tgz
In the main.cpp modify the main() to have:
int main(int argc, char *argv[])
{
QFont f("Hiragino Maru Gothic Pro");
QApplication app(argc, argv);
app.setDesktopSettingsAware ( false );
app.setFont ( f);
COMDialog *dialog = new COMDialog;
dialog->show();
return app.exec();
}