package fontforge-of-ocaml

  1. Overview
  2. Docs

Selection of glyphs. API: complete with some specificities about the selection requests and the iterations (compared to the Python API).

type t

Python workarounds

val byGlyphs : t -> t
exception UnspecifiedSlotIteration
exception UnspecifiedGlyphIteration
val iter : ?slot:(int -> unit) -> ?glyph:(Glyph.t -> unit) -> t -> unit
type request_t
val glyphname : string -> request_t
val glyph : Glyph.t -> request_t
val code : int -> request_t
val select : ?encoding:bool -> ?less:bool -> ?ranges:bool -> request:request_t list -> t -> unit
val select_from_encoding : encoding:int -> t -> unit
val select_from_unicode : unicode:int -> t -> unit
val select_from_glyphname : name:string -> t -> unit
val all : t -> unit

Select everything.

val none : t -> unit

Select everything.

Deselect everything.

val changed : t -> unit

Deselect everything.

Select all glyphs which have changed.

val invert : t -> unit

Select all glyphs which have changed.

Invert the selection.

OCaml

Innovation. Community. Security.