package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.pango/Ocgtk_pango/Pango/Wrappers/Font_face/index.html
Module Wrappers.Font_face
type t = [ `font_face | `object_ ] Gobject.objval list_sizes : t -> int array option * intList the available sizes for a font.
This is only applicable to bitmap fonts. For scalable fonts, stores %NULL at the location pointed to by @sizes and 0 at the location pointed to by @n_sizes. The sizes returned are in Pango units and are sorted in ascending order.
val is_synthesized : t -> boolReturns whether a `PangoFontFace` is synthesized.
This will be the case if the underlying font rendering engine creates this face from another face, by shearing, emboldening, lightening or modifying it in some other way.
val get_family : t -> [ `font_family | `object_ ] Gobject.objGets the `PangoFontFamily` that @face belongs to.
val get_face_name : t -> stringGets a name representing the style of this face.
Note that a font family may contain multiple faces with the same name (e.g. a variable and a non-variable face for the same style).
val describe : t -> [ `font_description ] Gobject.objReturns a font description that matches the face.
The resulting font description will have the family, style, variant, weight and stretch of the face, but its size field will be unset.