Generated by
JDiff

java.awt.font Documentation Differences

This file contains all the changes in documentation in the package java.awt.font as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class GlyphVector, int getLayoutFlags()

Returns flags describing the global state of the GlyphVector. Flags not described below are reserved. The default implementation returns 0 (meaning false) for the position adjustments transforms rtl and complex flags. Subclassers should override this method and make sure it correctly describes the GlyphVector and corresponds to the results of related calls. @return an int containing the flags describing the state @see #FLAG_HAS_POSITION_ADJUSTMENTS @see #FLAG_HAS_TRANSFORMS @see #FLAG_RUN_RTL @see #FLAG_COMPLEX_GLYPHS @see #FLAG_MASK @since 1.4

Class TextAttribute, TextAttribute WEIGHT

Attribute key for the weight of a font.

Key

WEIGHT

Value

Float

Constants

WEIGHT_ULTRA_LIGHT = 0.25 WEIGHT_EXTRA_LIGHT = 0.5
WEIGHT_LIGHT = 0.75
WEIGHT_DEMILIGHT = 0.875
WEIGHT_REGULAR = 1.0
WEIGHT_SEMIBOLD = 1.25
WEIGHT_MEDIUM = 1.5
WEIGHT_DEMIBOLD = 1.75
WEIGHT_BOLD = 2.0
WEIGHT_HEAVY = 2.25
WEIGHT_EXTRABOLD = 2.5
WEIGHT_ULTRABOLD = 2.75

Default

WEIGHT_REGULAR

Description

The value is roughly the ratio of the stem width to that of the regular weight. If the font has a different value for specific constants then the value is interpolated as described in the class description.

Fallback

Currently none. However in the future shape manipulations might be
available to simulate weight variations for fonts that don't have them.