When you want to display text, either in SDK components (AWT or Swing), on the console or in any application, characters have to be mapped to glyphs.
A glyph is an artistic representation of the character, in some typographical style, and is stored in the form of outlines or bitmaps. Glyphs might not correspond one-for-one with characters. For instance, an entire character sequence can be represented as a single glyph. Also, a single character can be represented by more than one glyph (for example, in Indic scripts).
A font is a set of glyphs, where each glyph is encoded in a particular encoding format, so that the character to glyph mapping can be done using the encoded value. Almost all of the available Java™ fonts are encoded in Unicode and provide universal mappings for all applications.
The most commonly available font types are TrueType and OpenType fonts.
Specify fonts according to the following characteristics:
Use xset +fp to add the font path and xset -fp to remove the font path.