110 * Latin.
111 * The set of available physical fonts varies between configurations.
112 * Applications that require specific fonts can bundle them and instantiate
113 * them using the {@link #createFont createFont} method.
114 * <p>
115 * <em>Logical</em> fonts are the five font families defined by the Java
116 * platform which must be supported by any Java runtime environment:
117 * Serif, SansSerif, Monospaced, Dialog, and DialogInput.
118 * These logical fonts are not actual font libraries. Instead, the logical
119 * font names are mapped to physical fonts by the Java runtime environment.
120 * The mapping is implementation and usually locale dependent, so the look
121 * and the metrics provided by them vary.
122 * Typically, each logical font name maps to several physical fonts in order to
123 * cover a large range of characters.
124 * <p>
125 * Peered AWT components, such as {@link Label Label} and
126 * {@link TextField TextField}, can only use logical fonts.
127 * <p>
128 * For a discussion of the relative advantages and disadvantages of using
129 * physical or logical fonts, see the
130 * <a href="http://java.sun.com/j2se/corejava/intl/reference/faqs/index.html#desktop-rendering">Internationalization FAQ</a>
131 * document.
132 *
133 * <h4>Font Faces and Names</h4>
134 *
135 * A <code>Font</code>
136 * can have many faces, such as heavy, medium, oblique, gothic and
137 * regular. All of these faces have similar typographic design.
138 * <p>
139 * There are three different names that you can get from a
140 * <code>Font</code> object. The <em>logical font name</em> is simply the
141 * name that was used to construct the font.
142 * The <em>font face name</em>, or just <em>font name</em> for
143 * short, is the name of a particular font face, like Helvetica Bold. The
144 * <em>family name</em> is the name of the font family that determines the
145 * typographic design across several faces, like Helvetica.
146 * <p>
147 * The <code>Font</code> class represents an instance of a font face from
148 * a collection of font faces that are present in the system resources
149 * of the host system. As examples, Arial Bold and Courier Bold Italic
150 * are font faces. There can be several <code>Font</code> objects
|
110 * Latin.
111 * The set of available physical fonts varies between configurations.
112 * Applications that require specific fonts can bundle them and instantiate
113 * them using the {@link #createFont createFont} method.
114 * <p>
115 * <em>Logical</em> fonts are the five font families defined by the Java
116 * platform which must be supported by any Java runtime environment:
117 * Serif, SansSerif, Monospaced, Dialog, and DialogInput.
118 * These logical fonts are not actual font libraries. Instead, the logical
119 * font names are mapped to physical fonts by the Java runtime environment.
120 * The mapping is implementation and usually locale dependent, so the look
121 * and the metrics provided by them vary.
122 * Typically, each logical font name maps to several physical fonts in order to
123 * cover a large range of characters.
124 * <p>
125 * Peered AWT components, such as {@link Label Label} and
126 * {@link TextField TextField}, can only use logical fonts.
127 * <p>
128 * For a discussion of the relative advantages and disadvantages of using
129 * physical or logical fonts, see the
130 * <a href="http://www.oracle.com/technetwork/java/index.html#desktop-rendering">Internationalization FAQ</a>
131 * document.
132 *
133 * <h4>Font Faces and Names</h4>
134 *
135 * A <code>Font</code>
136 * can have many faces, such as heavy, medium, oblique, gothic and
137 * regular. All of these faces have similar typographic design.
138 * <p>
139 * There are three different names that you can get from a
140 * <code>Font</code> object. The <em>logical font name</em> is simply the
141 * name that was used to construct the font.
142 * The <em>font face name</em>, or just <em>font name</em> for
143 * short, is the name of a particular font face, like Helvetica Bold. The
144 * <em>family name</em> is the name of the font family that determines the
145 * typographic design across several faces, like Helvetica.
146 * <p>
147 * The <code>Font</code> class represents an instance of a font face from
148 * a collection of font faces that are present in the system resources
149 * of the host system. As examples, Arial Bold and Courier Bold Italic
150 * are font faces. There can be several <code>Font</code> objects
|