sig
type weight =
[ `W100 | `W200 | `W300 | `W400 | `W500 | `W600 | `W700 | `W800 | `W900 ]
type slant = [ `Italic | `Normal | `Oblique ]
type t = {
name : string;
slant : Vg.Font.slant;
weight : Vg.Font.weight;
size : float;
}
val equal : Vg.Font.t -> Vg.Font.t -> bool
val equal_f : (float -> float -> bool) -> Vg.Font.t -> Vg.Font.t -> bool
val compare : Vg.Font.t -> Vg.Font.t -> int
val compare_f : (float -> float -> int) -> Vg.Font.t -> Vg.Font.t -> int
val to_string : Vg.Font.t -> string
val pp : Format.formatter -> Vg.Font.t -> unit
end