Problem in multilanguage support in j2me-LWUIT
I am beginner in mobile app development. I’m currently working on providing multilingual support to my application. This support need to be given whether the mobile support that particular language or not.
I have found the method of uploading the font in resource bundle and use that as a font for my label. The problem is, my string is getting cut at the top. For example, I’m working on Tamil support using Bamini font. The full stop and the marks above the characters are getting cut.
Kindly help to sort it out.
Re: Problem in multilanguage support in j2me-LWUIT
[QUOTE=everlastingmani;908546]I am beginner in mobile app development. I’m currently working on providing multilingual support to my application. This support need to be given whether the mobile support that particular language or not.
I have found the method of uploading the font in resource bundle and use that as a font for my label. The problem is, my string is getting cut at the top. For example, I’m working on Tamil support using Bamini font. The full stop and the marks above the characters are getting cut.
Kindly help to sort it out.[/QUOTE]
Reduce the size of the font or height of the font strip
Re: Problem in multilanguage support in j2me-LWUIT
[QUOTE=im2amit;908548]Reduce the size of the font or height of the font strip[/QUOTE]
I reduced the font height and size. but still facing that issues. how to reduce the height of the font strip. kindly explain. Thanks.
Re: Problem in multilanguage support in j2me-LWUIT
provide all details - how you added your own font to LWUIT - then we can can suggest more options.
Re: Problem in multilanguage support in j2me-LWUIT
[QUOTE=im2amit;908572]provide all details - how you added your own font to LWUIT - then we can can suggest more options.[/QUOTE]
Resouces r = Resources.open(getClass().getResourceAsStream("/simpleTheme.res"));
Font font = r.getFont ("Bamini");
r.getTheme("Android Theme").put("font",font);
r.getTheme("Android Theme").put("sel#font",font);
r.getTheme("Android Theme").put("Title.font", font);
UIManager.getInstance().setThemeProps(r.getTheme("Theme 1"));
The above way, I used the tamil font(Bamini.ttf). When I tried to display the tamil characters with dot above, the dot is not displayed in that character.
Kindly help in this.