package fontforge-of-ocaml

  1. Overview
  2. Docs

Feature classification

Typed Feature

Types

type _ t

Defines types: one for each combined group of lookup types. Features of a same group accept a lookup type among the same set of lookup types.

type in_all_t
type in_gpos_mark2base_or_gpos_mark2ligature_t
type in_gpos_pair_or_gpos_context_or_gpos_contextchain_or_kern_statemachine_t
type in_gsub_context_or_gsub_contextchain_or_morx_context_t
type in_gsub_ligature_or_gsub_context_or_gsub_contextchain_or_morx_context_t
type in_gsub_multiple_or_gsub_ligature_t
type in_gsub_single_or_gpos_single_t
type in_gsub_single_or_gsub_alternate_t
type in_gsub_single_or_gsub_ligature_t
type 'a name_t

Features are named.

Untyped Feature

val mk : ?scripts:Script.t list -> 'a name_t -> 'a t

Feature constructor linking a named script with a language list to an untyped feature.

val get_featurename : 'a t -> string

Feature constructor linking a named script with a language list to an untyped feature.

val get_script_languages : 'a t -> Script.t list
OCaml

Innovation. Community. Security.