HP-UX Java - Fonts and the Java Runtime Environment

Introduction
This document gives you information on how HP-UX fonts are configured with your
HP-UX Java™ runtime environment. Because the HP-UX SDK has built-in support for
the Asian TrueType fonts, you will not normally need this information. However, if
you want to change Java's font.properties files or if you have a font-related
problem, this information is useful.
Helpful documents are: Oracle's The font.properties Files and the article How Java™
products for HP-UX display Asian fonts.
X Windows, Java™ applications and TrueType fonts
This section gives you information on how HP-UX fonts are configured with your
HP-UX Java™ runtime environment. Because the HP-UX SDK has built-in support for
the Asian TrueType fonts, you will not normally need this information. However, if
you want to change Java's font.properties files or if you have a font-related
problem, this information is useful.
When your Java™ application runs under an Asian locale, the Java™ Logical Font
Name may be mapped to an X Windows font using the font.properties files (which
are locale-sensitive) in $JAVA_HOME/jre/lib. For Java™ 5.0, use the
fontconfig.properties files.
When HP-UX Asian TrueType fonts are installed, they will be located at:
/usr/lib/X11/fonts/TrueType/japanese.st/typefaces
/usr/lib/X11/fonts/TrueType/korean.st/typefaces
/usr/lib/X11/fonts/TrueType/chinese_s.st/typefaces
/usr/lib/X11/fonts/TrueType/chinese_t.st/ktypefaces
Each set is shipped with the text files fonts.dir and fonts.dir.jre. HP-UX's
SDK reads the index file fonts.dir.jre if it exists; otherwise, it reads fonts.dir.
The Font IDs (xlfd) used in your font.properties files must correspond to the IDs
shipped in fonts.dir.jre.
Installing Asian TrueType fonts (SDK 1.3x, 1.4x)
The SDK now supports HP-UX Asian TrueType fonts, with the installation of the
patches shown below. Follow these steps:
1. Install the patches you need from the list below. Install the common patch, plus
the appropriate patch for your language. To download patches, go to the Patch
Database at the IT Resource Center at:
http://us-support.external.hp.com/.
Select the link "Individual Patches" under Maintenance/Support. Scroll down to
"retrieve a specific patch by entering the patch name" and enter the patch number
in the input field. (This process will redirect you to a new patch if a patch has been
superceded.) Read the information about the patch to ascertain any dependencies.
4