Class Ligature

java.lang.Object
com.teamten.typeset.Ligature

public class Ligature extends Object
Represents a single ligature.
  • Constructor Details

    • Ligature

      public Ligature(String multi, int singleChar)
  • Method Details

    • getMulti

      public String getMulti()
      The multi-character version of the ligature (e.g., "fi").
    • getSingleString

      public String getSingleString()
      The single-character version of the ligature (e.g., "fi"), as a string.
    • getSingleChar

      public int getSingleChar()
      The single-character version of the ligature (e.g., "fi"), as a code point.
    • replace

      public String replace(String s)
      Replace all instances of the ligature in the string with the single-char version.