07-13-2010 03:52 AM
How to set the font family "ARIAL" in the RichTextField?
I have seen a lof of sample that show up how to set font family in the RichTextField, such as set it as CBTF_FONT.
But how can I set it as Arial font? If it cannot be, could anyone list an available font family table that can use in the Blackberry?
Solved! Go to Solution.
07-13-2010 05:59 AM
With OS 5.0 it is possible to package and install a font on the BlackBerry. Prior to OS 5.0, you were restricted to the fonts installed by RIM on your Blackberry.
So if you are trying to get Arial on a pre OS 5.0 device, you can not. To get it on an OS 5.0 device (or later) you will need to package the font up in your application and install it. There are samples in the OS 5.0 documentation showing you how to do this. However you are limited in the size on font you can install, and I think, from my font directory, that Arial is too big. The limit is, from memory, 90 K. Beside, I'm not sure that Arial is not owned by Microsoft, so adding it to a BlackBerry might be not legal for copyright reasons.
So create yourself a smaller Arial like font and you should be able to install and use this on the BlackBerry.
07-13-2010 07:11 AM
Unlucky that my target is an OS 4.6, and "that cannot be upgraded" is a condition (T_T).
That means I have no way to use any customize font family, is that right?