PDA

View Full Version : CFont to QFont



suneel1310
28th July 2010, 07:05
How to convert symbian Cfont to QFont ?

suneel1310
29th July 2010, 09:56
ok. I found a way of doing it

TFontSpec spec = font->FontSpecInTwips(); //font is a pointer to CFont
QString family((const QChar *)spec.iTypeface.iName.Ptr(), spec.iTypeface.iName.Length());
QFont ffont(family);