Class CharNormalize

java.lang.Object
org.docx4j.fonts.fop.complexscripts.util.CharNormalize

public final class CharNormalize
extends java.lang.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).

  • Method Summary

    Modifier and Type Method Description
    static int[] decompose​(int c, int[] da)  
    static boolean isDecomposable​(int c)  
    static int maximumDecompositionLength()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isDecomposable

      public static boolean isDecomposable​(int c)
    • maximumDecompositionLength

      public static int maximumDecompositionLength()
    • decompose

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