[Qt-interest] About the font info with the QPainter in QT3.3.2

lvbing lvbing lvbing1981 at gmail.com
Wed Dec 31 07:55:26 CET 2008


Hi all
There is a problem about the QFont with QPinter. I have an application,when
I set some font like "arial" to my QPinter,when I user the
QPainter::drawText to draw my strings,the painter's fontinfo changed to some
another font like "MingLiU",and then the GDI handle leak in my application.

who knows why the font is changed from arial to MingLiU? And the GDI handle
leak?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081231/924a5821/attachment.html 


More information about the Qt-interest-old mailing list