|
|
lvbing lvbing wrote on Wednesday, December 10, 2008 9:17 AM:
> ...
> font infomation is still the old font, the code like this: void
> Fun(QPainter* painter,/*......*/) { QFont font;
> font.setFamily("..."); //some font I wanted
> painter.setFont(font);
> //do something
> }
I don't see where you query the QFontInfo in your example ("Do something" is
very generic). Provide a minimal complete example which shows what you are
trying to do (especially *when* you are trying to query the QFontInfo!).
Cheers, Oliver
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest
|
|