Class DigitCase
java.lang.Object
com.adobe.fontengine.inlineformatting.DigitCase
Enumerated values for
ElementAttribute.digitCase.
Some fonts provide multiple digits glyphs: lining digits which work well with
uppercase letters, and old style digits which work well with lowercase
letters.
This class provides constants corresponding to this distinction.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DigitCaseFonts default.static final DigitCaseDerive the value from theElementAttribute.typographicCaseattribute.static final DigitCaseLining digits.static final DigitCaseOld style digits. -
Method Summary
-
Field Details
-
LINING
Lining digits. -
OLD_STYLE
Old style digits. -
DEFAULT
Fonts default. This value can be used to request the default case setting, as determined by the font designer. -
FROM_TYPOGRAPHIC_CASE
Derive the value from theElementAttribute.typographicCaseattribute. The value is derived as follows:LINING, forTypographicCase.TITLEandTypographicCase.CAPS,DEFAULT, forTypographicCase.NONEOLD_STYLE, for the others values
-
-
Method Details