mhoover
4th February 2010, 22:58
I'm on the mac version of Qt ...
When I do this:
QFont font = QFontDialog::getFont( &ok, QFont( "Helvetica [Cronyx]", 10 ), this );
cout << "font: " << font.rawName().toAscii().data() << endl;
cout << "pointsize: " << font.pointSize() << endl;
I always get:
font: Lucida Grande
pointsize: 13
Even though I don't set it to Lucida Grande 13 every time. I have changed the font and the size.
When I do this:
QFont font = QFontDialog::getFont( &ok, QFont( "Helvetica [Cronyx]", 10 ), this );
cout << "font: " << font.rawName().toAscii().data() << endl;
cout << "pointsize: " << font.pointSize() << endl;
I always get:
font: Lucida Grande
pointsize: 13
Even though I don't set it to Lucida Grande 13 every time. I have changed the font and the size.