custom font??
| Thu, 2005-07-07 08:20 | |
|
|
HI symbians i've created my own hindi fonts. but as i stored them into c:\system\font folder overall applications font change to that one. actually i want that font to only work with my application. Please help me and inform me, how to use them only for my application? Please help. Prashant {prashu} |






Forum posts: 118
i've done it.
now i can develop applications ,specific in any language.
Prashant {prashu}
Forum posts: 1
Forum posts: 2
could you give me some hints how you have done it?
Thanks.
mrahman252003@yahoo.com
Forum posts: 45
Can you please tell me how to use Custom font in our application.
Thanks,
Prabhu.
Forum posts: 118
use this short code to load custom font
TFileName fileName=_L("c:\\k010.gdr");
iCoeEnv->ScreenDevice()->AddFile(fileName,aFileId);
CFont *iFont;
CGraphicsDevice* ScreenDevice=iCoeEnv->ScreenDevice();
TFontSpec aFontSpec(fileName,5);
ScreenDevice->GetNearestFontInTwips(iFont,aFontSpec);
TCharFormat charFormat(aFontSpec.iTypeface.iName, aFontSpec.iHeight);
but first create ur font and put them into a directory.
Prashant {prashu}
May I knoe on what devide and Version u r doing the things?
B'coz I am anable to do it in Series 60 S60_2nd_FP2 and NOKIA 6600. even I am using the same way and it is not woring in emulator also.
please help