Spec-Zone .ru
спецификации, руководства, описания, API
|
Starting with the 1.2 release, the JDK software
includes a set of TrueType fonts in the lib/fonts
subdirectory.
Prior to the 1.2 release, the JDK software
relied on the host platform fonts.
Logical fonts, such as Monospaced,
are mapped to the host platform fonts
in the font.properties
file.
To distinguish them from the logical fonts,
this document refers to the TrueType fonts
as the physical fonts for the JDK software.
Your applications will look the same on all platforms because they'll use the same fonts. This makes testing, deployment, and support easier in a cross-platform environment.
You don't have to always switch fonts if you use characters from various scripts. For example, in a text component that uses the Lucida Sans Regular font, you can display characters in Hebrew, Arabic, German, and English. (Asian character sets for the physical fonts are not supported in the current (1.2.0) release.)
All of the physical fonts of the JDK software support the Euro currency symbol.
Toolkit.getFontList
Returns an array of logical font names.
GraphicsEnvironment.getAllFonts
Returns an array of physical fonts in this environment. The fonts returned include the host platform fonts and the physical fonts of the JDK software.
Revision Date: October 16, 1998
java-intl@java.sun.com Copyright © 1998 Sun Microsystems, Inc. All rights re served.