开发者

How do I use monospace fonts on the BlackBerry?

On Blackberry OS 4.5 an开发者_JAVA技巧d up, how do I select a monospace font from within a java app?

I have read the docs, but the only thing that references "mono" anything is a bitmap font.


I just had a look on a number of devices (using the options screens) for mono space fonts. There does not appear to be any way to select a mono spaced FontFamily through the API, other than by name, also not all OS versions seem to have mono space FontFamilies installed:

9800 V6.0.0.246 - Andale Mono

9700 V5.0.0.862 - None

8820 V4.2.2.169 - None (I know it is earlier than your preferance).

If you really need to use a mono spaced font, you may wish to consider installing one. There is a description of how to do this on eHow, though I haven't tried this myself. Do be careful of how much memory you are using though.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜