I have build phoneMe_feature MR2 on linux-qte platform, it works very well, but there is a Internationalization problem, when i run some midlet(inlude some unicode Characters, for exzmple zh ), it shows distortion.
may be i have get an idea about this, the midp application can't display Chinese characters because the phoneMe feature cann't find the right fonts.
now problem is how to configue to lead the phoneMe feature soft to find them.
What API your MIDlet uses to draw characters? Is that lcdui package from MIDP or SVG API of JSR 226?
In case of MIDP I can tell that phoneME supports single bitmap font which is pre-built with it. Please take a look at midp/src/lowlevelui/graphics/putpixel/native/gxj_font_bitmap.c. This file contains binary data image of the font. To change it (e.g. add Chinese characters) can use FontTool. Please look into midp/src/tool/fontgen. In particular in fontdef directory there are font files in human readable format. Also there are source code and scripts to create .c file with binary data
This holds true for putpixel graphics subsystem. (I.e. affects UI widgets unless SUBSYSTEM_LCDUI_MODULES=platform_widget and affects Graphics.drawChar etc functions unless SUBSYSTEM_GRAPHICS_MODULES=platform_graphics)
thank you, i have modified some files associate with font and text, now it works very well.
i find there are tow files associated with font setting, they are defaultFont.svg and initialFont.svg. what should i do to let the phoneME-feature software supports other unicode codes, for example ja_JP zh_CN...
Does this problem associate with the build-configuration, or linux language environment itself?
my environment is:
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.