(keitai-l) Re: Trouble setting font properties in i-applis

From: David Cotter <david.cotter_at_alatto.com>
Date: 09/18/01
Message-ID: <GFEELAOFLIPOELHJIGDEOEBCCEAA.david.cotter@alatto.com>
> [mailto:keitai-l-bounce@appelsiini.net]On Behalf Of Jason Pollard
> I'm having trouble setting the font face, size, etc. using code similar to
the
> following:
>
> public void paint (Graphics g) {
> Font f =
Font.getFont(Font.FACE_PROPORTIONAL|Font.STYLE_BOLD|Font.SIZE_SMALL);
> g.setFont(f);
> g.drawString("Hello",5,20);
>
> No matter what settings I use, the font always looks the same.  Am I doing
> something wrong?  Or is this a bug in the i-jade emulator?

What device do you have? I have found that on the SO503i - I can't set the
fonts properly - it always comes out as an ugly fixed width font but on the
N503i I can set the fonts alright.

David
www.alatto.com


[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Tue Sep 18 12:46:52 2001