font styles
Hi is it possible to change the font of a drawString object like times new roman or Ariel?
[97 byte] By [
shienna17a] at [2007-11-26 21:36:47]

# 2
it doesnt mentioned anything about the actual font style ie, times new roman, ariel, ariel bold etc.. I've read the api already and know that you can change the size, bold/italic, underlines but what about the actual FONT?
# 4
Font is set by default to : Font.getDefaultFont(). (no style, no size, just sytem face or something like that)to see which Font is it, do Font.getDefaultFont().toString().
# 6
The Font class java doc says the following:
The Font class represents fonts and font metrics. Fonts <b>cannot be created by applications<b>. Instead, applications query for fonts based on font attributes and the <b>system<b> will attempt to provide a font that matches the requested attributes as closely as possible.
It depends on the font rendering engines ported on individual devices running on different O/S. The Java API will never mention what kind of font it is like Ariel, Verdana, etc.
~Mohan