Class CharNormalize

java.lang.Object
org.apache.fop.complexscripts.util.CharNormalize

public final class CharNormalize extends Object

Normalization related utilities. N.B. This implementation is an experimental shortcut, the full version of which would require either using ICU4J or an extraction of its normalization function, either being a significant undertaking. At present we handle only specialized decomposition of Indic two part matras.

This work was originally authored by Glenn Adams (gadams@apache.org).

  • Field Details

    • DECOMPOSABLES

      private static final int[] DECOMPOSABLES
    • DECOMPOSITIONS

      private static final int[][] DECOMPOSITIONS
    • MAX_DECOMPOSITION_LENGTH

      private static final int MAX_DECOMPOSITION_LENGTH
      See Also:
  • Constructor Details

    • CharNormalize

      private CharNormalize()
  • Method Details

    • isDecomposable

      public static boolean isDecomposable(int c)
    • maximumDecompositionLength

      public static int maximumDecompositionLength()
    • decompose

      public static int[] decompose(int c, int[] da)