11-24-2010 04:33 AM
I am starting a application for using Punjabi Language.
I have no Idea about that.
Can anybody explain me that how can i use this.
and what type of fonts we can use with RIM APIs.
Solved! Go to Solution.
11-24-2010 02:39 PM
Have a look at this Thread:
Basic requirements are that the font beTrueType and smaller than the maximum size. Review the sample code in the app and associated API documentation for more.
Only possible on OS 5.0 and above. Don't even try to do anything on any older OS.
11-29-2010 01:31 AM
Thanks Peter for your Help, But I have an Issue,
I tried your Applicaton, But After the Punjabi.TTF file Selection.
After the Font file Selection, I want that When I type anything then it should be type in punjabi.
Plz clear me, If i am mistaking somthing.
11-29-2010 04:07 AM
"... Nothing happened,"
Did the font you added appear in the list of fonts that the program displays? I am assuming it did. If not the program should have given you an error. If it does not display and you don't get an error, can you attach the font to this Thread so I can test it?
Assuming the addition of the font did work, then ...
"I want that When I type anything then it should be type in Punjabi"
I'm not sure what you mean by this, but then I don't know Punjabi. But if you wanted to change an input field to, say, italics, then you do that by changing the the font used by the Field. I would have thought the same thing applied here.
11-29-2010 05:01 AM - edited 11-29-2010 05:02 AM
I have just tried that font, and it seems to work OK, it installs fine (I must admit I renamed it to remove the underscore, just to be sure there was no problems with the file name). The font is added to the system, and the font is used to display the on the list that the program gives you. So I think you need to resolve the issues I mentioned in the second part of my last post:
"I'm not sure what you mean by this, but then I don't know Punjabi. But if you wanted to change an input field to, say, italics, then you do that by changing the the font used by the Field. I would have thought the same thing applied here."
You know it is possible to change a Field to use this Font, because the program already does it (see refreshList()), for a LabelField. You just need to do it for an input field.
You can possibly also set Punjabi and the System font - go into Options, Screen/keyboard and give it a go!
Having said that, I'm not sure how you will associated Latin type keys with the Punjabi letters!
11-29-2010 06:25 AM
Thanks Peter, It's Working nicely.
But when I go to option-->Screen/keyboard and chnge Font here.
then it changed the whole Blackberry Mobile font.
I want to change only my Applicaton font.
And I am trying for it.
I will be ping you if you don't mind. If i will not get success for this.
But first I will try myself.