Class DigitWidth

java.lang.Object
com.adobe.fontengine.inlineformatting.DigitWidth

public final class DigitWidth extends Object
Enumerated values for ElementAttribute.digitWidth. Some fonts provide digits in multiple widths: tabular digits all share a single width, and are appropriate for setting in tables, where the digits should be aligned; proportional digits have varying widths and are appropriate for setting in running text. This class provides constants corresponding to this distinction.
  • Field Details

    • TABULAR

      public static final DigitWidth TABULAR
      Tabular digits.
    • PROPORTIONAL

      public static final DigitWidth PROPORTIONAL
      Proportional digits.
    • DEFAULT

      public static final DigitWidth DEFAULT
      Font’s default. This value can be used to request the default width setting, as determined by the font designer.
  • Method Details