Home arrow static arrow Java Programming [Archive] - Java Logical Fonts
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Java Logical Fonts
This topic has 3 replies on 1 page.

Posts:236
Registered: 5/11/04
Java Logical Fonts  
Jul 14, 2004 6:09 PM



 
anybody familiar with Font thing in java?

could anybody please explain what is the purpose or benefit of having logical fonts provided by java?
such as serif, dialog....

thank you.
 

Posts:3,258
Registered: 00-08-28
Re: Java Logical Fonts  
Jul 14, 2004 6:40 PM (reply 1 of 3)



 
I am not sure whast the context of the question but if I am getting you right the following link may be helpful.

http://www.sniffer.net/bookshelf_do_sniffer/java/exp/ch13_03.htm
 

Posts:236
Registered: 5/11/04
Re: Java Logical Fonts  
Jul 14, 2004 6:55 PM (reply 2 of 3)



 
it's a little bit different from what I want to know...
but still, this is a good link...thanks!

i just want to restate my question...it seems a little vague..

from what I know, java provided logical fonts...these are monospaced, serif, sansserif, dialog and dialoginput...
in order to used them for let say for printing, they should be mapped to actual physical font that actually exist in the system. and the mapping is specified in the font.properties file and the runtime environment do the mapping using the physical font secified for that particular logical font...

now my problem is, what is the benefit or advantages of having or providing java's own logical font when one can use the actual physical font directly in creaing font instance?

i hope this is a little clearer...

thanks..
 

Posts:3,258
Registered: 00-08-28
Re: Java Logical Fonts  
Jul 14, 2004 7:19 PM (reply 3 of 3)



 
I am not sure about that one but could it have anything to do with performance?

http://www.javaworld.com/javaworld/javatips/jw-javatip55.html
 
This topic has 3 replies on 1 page.