Provides classes and interface relating to fonts.
MultipleMaster interface represents Type 1
Multiple Master fonts.
OpenType interface represents OpenType and
FontRenderContext class is a container for the
information needed to correctly measure text.
GlyphJustificationInfo class represents information
about the justification properties of a glyph.
GlyphMetrics class represents infomation for a
GlyphVector object is a collection of glyphs
containing geometric information for the placement of each glyph
in a transformed coordinate space which corresponds to the
device on which the
GlyphVector is ultimately
GraphicAttribute This class is used with the CHAR_REPLACEMENT attribute.
ImageGraphicAttribute class is an implementation of
which draws images in
LayoutPath LayoutPath provides a mapping between locations relative to the
baseline and points in user space.
LineBreakMeasurer class allows styled text to be
broken into lines (or segments) that fit within a particular visual
LineMetrics class allows access to the
metrics needed to layout characters along a line
and to layout of a set of lines.
NumericShaper class is used to convert Latin-1 (European)
digits to other Unicode decimal digits.
ShapeGraphicAttribute class is an implementation of
that draws shapes in a
TextAttribute class defines attribute keys and
attribute values used for text rendering.
TextHitInfo class represents a character position in a
text model, and a
bias, or "side," of the character.
TextLayout is an immutable graphical representation of styled
TextLayout.CaretPolicy Defines a policy for determining the strong caret location.
TextMeasurer class provides the primitive operations
needed for line break: measuring up to a given advance, determining the
advance of a range of characters, and generating a
TextLayout for a range of characters.
TransformAttribute class provides an immutable
wrapper for a transform so that it is safe to use as an attribute.
Package java.awt.font Description
Provides classes and interface relating to fonts. It
contains support for representing Type 1, Type 1 Multiple Master
fonts, OpenType fonts, and TrueType fonts.
Submit a bug or feature For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.