i have a font ,it's truetype but it doesn't work
the following is the example
QString str;
str.sprintf("%d,%d",p->width(),p->height());
QFont f("8888 8888",15);//8888 8888 is font name
painter.setFont(f);
painter.drawText(200,200,str);
but it doesn't display my font ,why?
can anyone tell me how to use a font that isnot system font.
Bookmarks