Home | History | Annotate | Download | only in font

Lines Matching defs:FONT

41 package java.awt.font;
90 * can select the 'nearest available' font or use other techniques to
138 // For use with Font.
141 // Android-removed: Don't link to java.awt.Font class, it doesn't exist on Android.
143 * Attribute key for the font name. Values are instances of
145 * <code>"Default"</code>, which causes the platform default font
148 * <p> The <code>Font</code> class defines constants for the logical
149 * font names.
152 * <code>Font</code> constructor. Both logical and physical
153 * font names are allowed. If a font with the requested name
154 * is not found, the default font is used.
162 * request that the font's weight be bold.</p>
168 * Attribute key for the weight of a font. Values are instances
179 * style value <code>Font.BOLD</code> as passed to the
180 * <code>Font</code> constructor.
270 * Attribute key for the width of a font. Values are instances of
323 // Android-removed: Don't link to java.awt.Font class, it doesn't exist on Android.
325 * Attribute key for the posture of a font. Values are instances
332 * <code>Font.ITALIC</code> as passed to the <code>Font</code>
335 * <p>The value is roughly the slope of the stems of the font,
340 * <p>This will affect the font's italic angle as returned by
341 * <code>Font.getItalicAngle</code>.
363 * Attribute key for the font size. Values are instances of
367 * <code>Font</code> constructor.
373 * <p>Note that the appearance and metrics of a 12pt font with a
374 * 2x transform might be different than that of a 24 point font
381 // These classes were AffineTransform, Font, and TransformAttribute.
383 * Attribute key for the transform of a font. Values are
418 * impact the ascent and descent of a font. The ascent
438 // Android-removed: Don't link to java.awt.Font class, it doesn't exist on Android.
440 * Attribute key used to provide the font to use to render text.
444 * <code>Font</code> from attributes should be performed.
450 * configure a <code>Font</code> instance. If a <code>FONT</code>
451 Font</code>
453 * resolution of font attributes into a <code>Font</code>, or
454 * force use of a particular <code>Font</code> instance. This
455 * also allows users to specify subclasses of <code>Font</code> in
456 * cases where a <code>Font</code> can be subclassed.
458 * <p><code>FONT</code> is used for special situations where
459 * clients already have a <code>Font</code> instance but still
462 * <code>FONT</code> attribute. With <code>Map</code>-based APIs
464 * <code>FONT</code> is not needed or desireable.
466 * <p>However, if both <code>FONT</code> and other attributes are
468 * merge the attributes defined in the <code>Font</code> with the
472 * metric behavior of a font. These attributes are
478 * <code>FONT</code> itself.
481 * <code>Font</code> is obtained from the <code>FONT</code>
486 * attributes come solely from the <code>Font</code>, and the
488 * <code>Font</code> but can be overridden by other values in the
491 public static final TextAttribute FONT =
492 new TextAttribute("font");
496 * of the font's standard glyph for a character. Values are
498 * indicating that the standard glyphs provided by the font
511 * bounds of the text; the actual Font values are ignored.
890 * <p>The tracking value is multiplied by the font point size and
891 * passed through the font transform to determine an additional