Package: pango

GEnum pango:weight

Declaration

(gobject:define-genum "PangoWeight" weight
  (:export t
   :allow-undeclared-values t
   :type-initializer "pango_weight_get_type")
  (:thin 100)
  (:ultralight 200)
  (:light 300)
  (:semilight 350)
  (:book 380)
  (:normal 400)
  (:medium 500)
  (:semibold 600)
  (:bold 700)
  (:ultrabold 800)
  (:heavy 900)
  (:ultraheavy 1000))  

Values

:thin
The thin weight.
:ultralight
The ultralight weight.
:light
The light weight.
:semilight
The semilight weight.
:book
The book weight.
:normal
The default weight.
:medium
The normal weight.
:semibold
The semibold weight.
:bold
The bold weight.
:ultrabold
The ultrabold weight.
:heavy
The heavy weight.
:ultraheavy
The ultraheavy weight.

Details

An enumeration specifying the weight (boldness) of a font. This is a numerical value ranging from 100 to 1000, but there are some predefined values.

Note

The enumeration allows undeclared values. Therefore, it is possible to pass any integer to functions that expect a pango:weight value.
 

See also

2024-3-3