package vg

  1. Overview
  2. Docs
type weight = [
  1. | `W100
  2. | `W200
  3. | `W300
  4. | `W400
  5. | `W500
  6. | `W600
  7. | `W700
  8. | `W800
  9. | `W900
]
type slant = [
  1. | `Italic
  2. | `Normal
  3. | `Oblique
]
type t = {
  1. name : string;
  2. slant : slant;
  3. weight : weight;
  4. size : float;
}
val equal : t -> t -> bool
val equal_f : (float -> float -> bool) -> t -> t -> bool
val compare : t -> t -> int
val compare_f : (float -> float -> int) -> t -> t -> int
val to_string : t -> string
val pp : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.