+(defclass layout (gobject)
+ ((context
+ :allocation :virtual
+ :getter "pango_layout_get_context"
+ :reader layout-context
+ :type context)
+ (text
+ :allocation :virtual
+ :initarg text
+ :getter "pango_layout_get_text"
+ :setter %layout-set-text
+ :accessor layout-text
+ :type string)
+ (attributes
+ :allocation :virtual
+ :initarg :attributes
+ :getter "pango_layout_get_attributes"
+ :setter "pango_layout_set_attributes"
+ :accessor layout-attributes
+ :type attr-list)
+ (font-description
+ :allocation :virtual
+ :initarg :font-description
+ :getter "pango_layout_get_font_description"
+ :setter "pango_layout_set_font_description"
+ :accessor layout-font-description
+ :type font-description)
+ (width
+ :allocation :virtual
+ :initarg :width
+ :getter "pango_layout_get_width"
+ :setter "pango_layout_set_width"
+ :accessor layout-width
+ :type int)
+ (wrap
+ :allocation :virtual
+ :initarg :wrap
+ :getter "pango_layout_get_wrap"
+ :setter "pango_layout_set_wrap"
+ :accessor layout-wrap
+ :type wrap-mode)
+ (ellipsize
+ :allocation :virtual
+ :initarg :ellipsize
+ :getter "pango_layout_get_ellipsize"
+ :setter "pango_layout_set_ellipsize"
+ :accessor layout-ellipsize
+ :type ellipsize-mode)
+ (indent
+ :allocation :virtual
+ :initarg :indent
+ :getter "pango_layout_get_indent"
+ :setter "pango_layout_set_indetn"
+ :accessor layout-indent
+ :type int)
+ (spacing
+ :allocation :virtual
+ :initarg :spacing
+ :getter "pango_layout_get_spacing"
+ :setter "pango_layout_set_spacing"
+ :accessor layout-spacing
+ :type int)
+ (justify
+ :allocation :virtual
+ :initarg :justify
+ :getter "pango_layout_get_justify"
+ :setter "pango_layout_set_justify"
+ :accessor layout-justify-p
+ :type boolean)
+ (auto-dir
+ :allocation :virtual
+ :initarg :auto-dir
+ :getter "pango_layout_get_auto_dir"
+ :setter "pango_layout_set_auto_dir"
+ :accessor layout-auto-dir-p
+ :type boolean)
+ (alignment
+ :allocation :virtual
+ :initarg :alignment
+ :getter "pango_layout_get_alignment"
+ :setter "pango_layout_set_alignment"
+ :accessor layout-alignment
+ :type alignment)
+ (tab-array
+ :allocation :virtual
+ :initarg :tab-array
+ :getter "pango_layout_tab_array"
+ :setter "pango_layout_tab-array"
+ :accessor layout-tab-array
+ :type tab-array)
+ (single-paragraph
+ :allocation :virtual
+ :initarg :single-paragraph
+ :getter "pango_layout_get_single_paragraph_mode"
+ :setter "pango_layout_set_single_paragraph_mode"
+ :accessor layout-single-paragraph-p
+ :type boolean))
+ (:metaclass gobject-class))
+
+(defclass cairo-font-map (interface)
+ ((resolution
+ :allocation :virtual
+ :getter "pango_cairo_font_map_get_resolution"
+ :setter "pango_cairo_font_map_set_resolution"
+ :accessor cairo-font-map-resolution
+ :type double-float))
+ (:metaclass interface-class))
+
+
+;;;; Font description