Since the mapping from logical fonts to physical fonts is
implementation dependent, the answer varies. For Sun's JRE 5.0, the
easiest way is to install the font into the JRE's lib/fonts/fallback
directory - it will be automatically added as a fallback font to all
logical fonts for 2D rendering.
榪樻湁涓浜涘叧浜巉ont.properties鐨勮В閲婏細 For AWT, you may need to modify a
font configuration file - see the web page
Font
Configuration Files. For earlier versions of Sun's JRE, you need
to edit font.properties files - see the Font.properties Files
documents for
J2SE 1.4.2
and J2SE 1.3.1.
Note however that editing these files is a modification of the JRE,
and Sun does not support modified JREs. For other implementations,
see their respective documentation.