package patoline

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type subst = {
  1. original_glyphs : int array;
  2. subst_glyphs : int array;
}
type chain = {
  1. before : int list array;
  2. input : int list array;
  3. after : int list array;
}
type substitution =
  1. | Alternative of int array
  2. | Subst of subst
  3. | Chain of chain
  4. | Context of (int * substitution list) array
val print_int_array : int array -> unit
val print_int_list : int list -> unit
val print_subst : substitution -> unit
val apply_ligature : subst -> FTypes.glyph_id list -> FTypes.glyph_id list
val apply_subst : subst -> FTypes.glyph_id list -> FTypes.glyph_id list
val apply_alternative : int array -> int -> FTypes.glyph_id list -> FTypes.glyph_id list
val apply : substitution -> FTypes.glyph_id list -> FTypes.glyph_id list
OCaml

Innovation. Community. Security.