`sig
external from_string : string -> Pango.font_description
= "ml_pango_font_description_from_string"
external to_string : Pango.font_description -> string
= "ml_pango_font_description_to_string"
external copy : Pango.font_description -> Pango.font_description
= "ml_pango_font_description_copy"
external set_family : Pango.font_description -> string -> unit
= "ml_pango_font_description_set_family"
external get_family : Pango.font_description -> string
= "ml_pango_font_description_get_family"
external set_style : Pango.font_description -> Pango.Tags.style -> unit
= "ml_pango_font_description_set_style"
external get_style : Pango.font_description -> Pango.Tags.style
= "ml_pango_font_description_get_style"
external set_variant : Pango.font_description -> Pango.Tags.variant -> unit
= "ml_pango_font_description_set_variant"
external get_variant : Pango.font_description -> Pango.Tags.variant
= "ml_pango_font_description_get_variant"
val set_weight : Pango.font_description -> Pango.Tags.weight -> unit
external get_weight : Pango.font_description -> int
= "ml_pango_font_description_get_weight"
external set_stretch : Pango.font_description -> Pango.Tags.stretch -> unit
= "ml_pango_font_description_set_stretch"
external get_stretch : Pango.font_description -> Pango.Tags.stretch
= "ml_pango_font_description_get_stretch"
external set_size : Pango.font_description -> int -> unit
= "ml_pango_font_description_set_size"
external get_size : Pango.font_description -> int
= "ml_pango_font_description_get_size"
val modify :
Pango.font_description ->
?family:string ->
?style:Pango.Tags.style ->
?variant:Pango.Tags.variant ->
?weight:Pango.Tags.weight ->
?stretch:Pango.Tags.stretch -> ?size:int -> unit -> unit
external get_metrics : Pango.font -> Pango.language -> Pango.font_metrics
= "ml_pango_font_get_metrics"
external get_ascent : Pango.font_metrics -> Pango.units
= "ml_pango_font_metrics_get_ascent"
external get_descent : Pango.font_metrics -> Pango.units
= "ml_pango_font_metrics_get_descent"
external get_approximate_char_width : Pango.font_metrics -> Pango.units
= "ml_pango_font_metrics_get_approximate_char_width"
external get_approximate_digit_width : Pango.font_metrics -> Pango.units
= "ml_pango_font_metrics_get_approximate_digit_width"
end`