Thanks Scott. I digged up the Font API in the OS Reference and prototyped
something to use an alternate font from Alpha Font Collection, no problems
at all.
Now I am just wondering if anyone already has a custom font set that
contains the subscript numbers. If so, is it alright to share it?
Thanks in advance.
Edmond
--- In [EMAIL PROTECTED], "Scott Johnson (Bellevue)"
<[EMAIL PROTECTED]> wrote:
> > From: Edmond Chan [mailto:edmond@t...]
> > How can I display a string (in a Label preferably)
> > that contains subscript characters?
>
> In a label (or any other standard UI object) you would need to use
a custom
> font that contains the needed subscript characters. The built-in
fonts
> don't, though they do have superscript 2 and 3. You can search the
docs,
> KB, or archives for information on custom fonts.
>
> Or a less elegant way is to draw the label with custom code
(preferably in a
> gadget) and then you can achieve the subscript effect via whatever
drawing
> API calls you want.
>
> -slj-
>
>
> --
> For information on using the Palm Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/