开发者

how to overcome font problem in blackberry?

I am readin开发者_运维知识库g data from a .csv file and displaying it. When I encounter the micro character (µ) some special symbols are displayed instead. How can I display the micro character?


class Scr extends MainScreen
{
    public Scr() {
        LabelField label = new LabelField();        
        String fontName = label.getFont().getFontFamily().getName();
        String text = "Font name: "+fontName+" Symbol: µ";
        label.setText(text);
        add(label);
    }   
}

screen http://img207.imageshack.us/img207/9606/screenwx.jpg
Can't reproduce on RIM OS 4.5 Curve 8300, font "BBAlpha Sans".

  • Check what font are you using, there may be no "µ" symbol
  • Try to debug and see if symbol is readed correctly from file
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜