Create a new font weight attribute.
the weight
the newly allocated PangoAttribute, which should be freed with [method@Pango.Attribute.destroy].
See Implementation
Create a new font weight attribute.