Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 13:40, 31 December 2007.

Get Available Fonts on device

From Forum Nokia Wiki

Gets the list of typeface names available for the graphics device.

CGraphicsDevice* device = gc.Device();
	CDesCArray* array = new(ELeave) CDesCArrayFlat(2);
	FontUtils::GetAvailableFontsL(*device,*array);
 
	TPoint pos(10,20);
	for (TInt i=0;i<array->Count();i++) {
	    gc.DrawText(array->MdcaPoint(i),TPoint(pos.iX,pos.iY+i*20));
	}
	delete array;
 
Related Discussions
Thread Thread Starter Forum Replies Last Post
Small Fonts... ayulo Symbian User Interface 3 2004-07-10 19:00
custom font tolnaisz General Symbian C++ 0 1970-01-01 02:00
How to create new fonts? owat General Symbian C++ 0 2003-04-18 11:49
Writing chinese text on emulator TheLittleBird Symbian 1 2007-06-15 11:41
TextField in Nokia3100 prashant332 Mobile Java General 2 2005-07-15 05:52
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX