public class FontFeature
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTEXTUAL_LIGATURES
Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes.
|
static int |
DISCRETIONARY_LIGATURES
Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes.
|
static int |
GLYPH_COMPOSITION_DECOMPOSITION
To minimize the number of glyph alternates, it is sometimes desirable to decompose the default glyph for a character into two or more glyphs.
|
static int |
HISTORICAL_LIGATURES
Some ligatures were in common use in the past, but appear anachronistic today.
|
static int |
KERNING
Adjusts amount of space between glyphs, generally to provide optically consistent spacing between glyphs.
|
static int |
length |
static int |
LINING_FIGURES
This feature changes selected non-lining figures to lining figures.
|
static int |
OLDSTYLE_FIGURES
This feature changes selected figures from the default or lining style to oldstyle form.
|
static int |
PROPORTIONAL_FIGURES
Replaces figure glyphs set on uniform (tabular) widths with corresponding glyphs set on glyph-specific (proportional) widths.
|
static int |
REQUIRED_LIGATURES
Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes.
|
static int |
STANDARD_LIGATURES
Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes.
|
static int |
STYLISTIC_SET_01
Stylistic Set 1 In addition to, or instead of, stylistic alternatives of individual glyphs (see 'salt' feature), some fonts may contain sets of stylistic variant glyphs corresponding to portions of the character set, e.g.
|
static int |
STYLISTIC_SET_02
Stylistic Set 2 Equivalent OpenType tag: 'ss02'
|
static int |
STYLISTIC_SET_03
Stylistic Set 3 Equivalent OpenType tag: 'ss03'
|
static int |
STYLISTIC_SET_04
Stylistic Set 4 Equivalent OpenType tag: 'ss04'
|
static int |
STYLISTIC_SET_05
Stylistic Set 5 Equivalent OpenType tag: 'ss05'
|
static int |
STYLISTIC_SET_06
Stylistic Set 6 Equivalent OpenType tag: 'ss06'
|
static int |
STYLISTIC_SET_07
Stylistic Set 7 Equivalent OpenType tag: 'ss07'
|
static int |
STYLISTIC_SET_08
Stylistic Set 8 Equivalent OpenType tag: 'ss08'
|
static int |
STYLISTIC_SET_09
Stylistic Set 9 Equivalent OpenType tag: 'ss09'
|
static int |
STYLISTIC_SET_10
Stylistic Set 10 Equivalent OpenType tag: 'ss10'
|
static int |
STYLISTIC_SET_11
Stylistic Set 11 Equivalent OpenType tag: 'ss11'
|
static int |
STYLISTIC_SET_12
Stylistic Set 12 Equivalent OpenType tag: 'ss12'
|
static int |
STYLISTIC_SET_13
Stylistic Set 13 Equivalent OpenType tag: 'ss13'
|
static int |
STYLISTIC_SET_14
Stylistic Set 14 Equivalent OpenType tag: 'ss14'
|
static int |
STYLISTIC_SET_15
Stylistic Set 15 Equivalent OpenType tag: 'ss15'
|
static int |
STYLISTIC_SET_16
Stylistic Set 16 Equivalent OpenType tag: 'ss16'
|
static int |
STYLISTIC_SET_17
Stylistic Set 17 Equivalent OpenType tag: 'ss17'
|
static int |
STYLISTIC_SET_18
Stylistic Set 18 Equivalent OpenType tag: 'ss18'
|
static int |
STYLISTIC_SET_19
Stylistic Set 19 Equivalent OpenType tag: 'ss19'
|
static int |
STYLISTIC_SET_20
Stylistic Set 20 Equivalent OpenType tag: 'ss20'
|
static int |
TABULAR_FIGURES
Replaces figure glyphs set on proportional widths with corresponding glyphs set on uniform (tabular) widths.
|
static int |
VERTICAL_ALTERNATES
Transforms default glyphs into glyphs that are appropriate for upright presentation in vertical writing mode.
|
static int |
VERTICAL_ALTERNATES_AND_ROTATION
Replaces some fixed-width (half-, third- or quarter-width) or proportional-width glyphs (mostly Latin or katakana) with forms suitable for vertical writing (that is, rotated 90 degrees clockwise).
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String fontFeatureName) |
static java.lang.String |
getName(int fontFeature) |
static int[] |
getValues() |
static java.lang.String |
toString(int fontFeature) |
public static int GLYPH_COMPOSITION_DECOMPOSITION
public static int STANDARD_LIGATURES
public static int REQUIRED_LIGATURES
public static int CONTEXTUAL_LIGATURES
public static int DISCRETIONARY_LIGATURES
public static int HISTORICAL_LIGATURES
public static int PROPORTIONAL_FIGURES
public static int TABULAR_FIGURES
public static int LINING_FIGURES
public static int OLDSTYLE_FIGURES
public static int VERTICAL_ALTERNATES
public static int VERTICAL_ALTERNATES_AND_ROTATION
public static int STYLISTIC_SET_01
public static int STYLISTIC_SET_02
public static int STYLISTIC_SET_03
public static int STYLISTIC_SET_04
public static int STYLISTIC_SET_05
public static int STYLISTIC_SET_06
public static int STYLISTIC_SET_07
public static int STYLISTIC_SET_08
public static int STYLISTIC_SET_09
public static int STYLISTIC_SET_10
public static int STYLISTIC_SET_11
public static int STYLISTIC_SET_12
public static int STYLISTIC_SET_13
public static int STYLISTIC_SET_14
public static int STYLISTIC_SET_15
public static int STYLISTIC_SET_16
public static int STYLISTIC_SET_17
public static int STYLISTIC_SET_18
public static int STYLISTIC_SET_19
public static int STYLISTIC_SET_20
public static int KERNING
public static int length